Fixed postupgrade python3 compat

This commit is contained in:
Marc Aymerich 2015-06-12 12:26:03 +00:00
parent 3fc351d90b
commit 6ff0184dd1
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ class Command(BaseCommand):
version = int(str(major) + "%02d" % int(major2) + "%02d" % int(minor))
# Pre version specific upgrade operations
if version < 001:
if version < '001':
pass
if not options.get('specifics_only'):
@ -80,7 +80,7 @@ class Command(BaseCommand):
return
# Post version specific operations
if version <= 001:
if version <= '001':
pass
if upgrade_notes and options.get('print_upgrade_notes'):