forked from 0x2620/pandora
merge more update.py cleanups from bzr
This commit is contained in:
parent
1dfd327f6f
commit
e729aa959d
1 changed files with 2 additions and 2 deletions
|
@ -106,8 +106,8 @@ if __name__ == "__main__":
|
|||
run('./manage.py', 'update_static')
|
||||
elif len(sys.argv) == 4 and sys.argv[1] == 'postupdate':
|
||||
os.chdir(base)
|
||||
old = sys.argv[2]
|
||||
new = sys.argv[3]
|
||||
old = sys.argv[2].strip()
|
||||
new = sys.argv[3].strip()
|
||||
if old.isdigit():
|
||||
old = int(old)
|
||||
if new.isdigit():
|
||||
|
|
Loading…
Reference in a new issue