git://git.onelab.eu
/
build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tagging module pypcilib - pypcilib-0.2-6
[build.git]
/
module-tools.py
diff --git
a/module-tools.py
b/module-tools.py
index
76de49c
..
178f880
100755
(executable)
--- a/
module-tools.py
+++ b/
module-tools.py
@@
-327,10
+327,11
@@
that for other purposes than tagging"""%topdir
if os.path.isfile (attempt):
return attempt
else:
if os.path.isfile (attempt):
return attempt
else:
+ pattern="%s/*.spec"%self.edge_dir()
try:
try:
- return glob(
"%s/*.spec"%self.edge_dir()
)[0]
+ return glob(
pattern
)[0]
except:
except:
- raise Exception, 'Cannot guess specfile for module %s
'%self.name
+ raise Exception, 'Cannot guess specfile for module %s
-- pattern was %s'%(self.name,pattern)
def all_specnames (self):
return glob("%s/*.spec"%self.edge_dir())
def all_specnames (self):
return glob("%s/*.spec"%self.edge_dir())