improve error message when a module isn't loadable
This commit is contained in:
parent
54b7d45d25
commit
876535ff90
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ class Repository(object):
|
|||
try:
|
||||
module = Module(__import__(name, fromlist=[str(name)]))
|
||||
except Exception, e:
|
||||
print >>sys.stderr, 'ERROR: %s' % e
|
||||
print >>sys.stderr, 'Unable to build module %s: %s' % (name, e)
|
||||
else:
|
||||
m = ModuleInfo(module.name)
|
||||
m.version = self.get_tree_mtime(module_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue