Fixed osmodumpdoc to work with the refactored importing
This commit is contained in:
parent
0270be43b9
commit
cd564fcebc
|
@ -80,12 +80,8 @@ if __name__ == '__main__':
|
|||
if args.w:
|
||||
workdir = args.w
|
||||
|
||||
osmoappdesc = None
|
||||
try:
|
||||
osmoappdesc = osmoutil.importappconf(confpath, "osmoappdesc")
|
||||
except ImportError as e:
|
||||
print >> sys.stderr, "osmoappdesc not found, set searchpath with -p"
|
||||
sys.exit(1)
|
||||
osmoappdesc = osmoutil.importappconf_or_quit(
|
||||
confpath, "osmoappdesc", args.p)
|
||||
|
||||
os.chdir(workdir)
|
||||
num_fails, num_sucs = dump_configs(
|
||||
|
|
Loading…
Reference in New Issue