summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/manage.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Bcfg2/manage.py')
-rw-r--r--[-rwxr-xr-x]src/lib/Bcfg2/manage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/manage.py b/src/lib/Bcfg2/manage.py
index 9675a3db1..66cf93084 100755..100644
--- a/src/lib/Bcfg2/manage.py
+++ b/src/lib/Bcfg2/manage.py
@@ -18,7 +18,7 @@ def main():
Bcfg2.Options.PositionalArgument('django_command', nargs='*')])
parser.parse()
- if django.VERSION[0] == 1 and django.VERSION[1] >= 6:
+ if django.VERSION >= (1, 6):
from django.core.management import execute_from_command_line
execute_from_command_line(
sys.argv[:1] + Bcfg2.Options.setup.django_command)