fixed bug when no project module setting is defined

This commit is contained in:
Pablo Hoffman 2009-08-08 15:12:40 -03:00
parent 91eea82eef
commit 467dbef20e
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@ def usage(prog):
return s
def update_default_settings(module, cmdname):
if not module:
return
try:
mod = __import__('%s.%s' % (module, cmdname), {}, {}, [''])
except ImportError: