fixes to postgres, shell. removal of "run" module.

This commit is contained in:
percious17
2008-12-02 18:27:16 +00:00
parent 2e74b87df5
commit 6c0694417f
4 changed files with 24 additions and 8 deletions

View File

@@ -92,7 +92,8 @@ def parse_args(*args,**kwargs):
if cmdname == 'downgrade':
if not args[-1].startswith('--'):
kwargs['version'] = args[-1]
args = args[:-1]
except IndexError:
# No command specified: no error message; just show usage
raise ShellUsageError(None)