Fixed postupgrade python3 compat
This commit is contained in:
parent
3fc351d90b
commit
6ff0184dd1
|
@ -56,7 +56,7 @@ class Command(BaseCommand):
|
||||||
version = int(str(major) + "%02d" % int(major2) + "%02d" % int(minor))
|
version = int(str(major) + "%02d" % int(major2) + "%02d" % int(minor))
|
||||||
|
|
||||||
# Pre version specific upgrade operations
|
# Pre version specific upgrade operations
|
||||||
if version < 001:
|
if version < '001':
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if not options.get('specifics_only'):
|
if not options.get('specifics_only'):
|
||||||
|
@ -80,7 +80,7 @@ class Command(BaseCommand):
|
||||||
return
|
return
|
||||||
|
|
||||||
# Post version specific operations
|
# Post version specific operations
|
||||||
if version <= 001:
|
if version <= '001':
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if upgrade_notes and options.get('print_upgrade_notes'):
|
if upgrade_notes and options.get('print_upgrade_notes'):
|
||||||
|
|
Loading…
Reference in New Issue