From e729aa959dde974f13efcd6ac30a773c42ccca37 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 14 Nov 2015 16:16:58 +0100 Subject: [PATCH] merge more update.py cleanups from bzr --- update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update.py b/update.py index a78354d6..4b21db7e 100755 --- a/update.py +++ b/update.py @@ -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():