From 6ff0184dd136d4969a54eabfb0e92d6bc95e3ff4 Mon Sep 17 00:00:00 2001 From: Marc Aymerich Date: Fri, 12 Jun 2015 12:26:03 +0000 Subject: [PATCH] Fixed postupgrade python3 compat --- orchestra/management/commands/postupgradeorchestra.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orchestra/management/commands/postupgradeorchestra.py b/orchestra/management/commands/postupgradeorchestra.py index d769d495..0e453558 100644 --- a/orchestra/management/commands/postupgradeorchestra.py +++ b/orchestra/management/commands/postupgradeorchestra.py @@ -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'):