summaryrefslogtreecommitdiffstats
path: root/tools/upgrade
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-10-09 10:03:50 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-10-09 10:03:50 -0400
commit375dc86e5cd6a859502e9f828b1977e7aae4138d (patch)
treec9d832d59e3da68ca88fe112f2afa409eb21b775 /tools/upgrade
parent591dcc5f9206581a5a5c997b5574d8f36c56e0be (diff)
downloadbcfg2-375dc86e5cd6a859502e9f828b1977e7aae4138d.tar.gz
bcfg2-375dc86e5cd6a859502e9f828b1977e7aae4138d.tar.bz2
bcfg2-375dc86e5cd6a859502e9f828b1977e7aae4138d.zip
made migrate_dbstats.py executable
Diffstat (limited to 'tools/upgrade')
-rwxr-xr-x[-rw-r--r--]tools/upgrade/1.3/migrate_dbstats.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/upgrade/1.3/migrate_dbstats.py b/tools/upgrade/1.3/migrate_dbstats.py
index d44ebd6a7..d43aa18ad 100644..100755
--- a/tools/upgrade/1.3/migrate_dbstats.py
+++ b/tools/upgrade/1.3/migrate_dbstats.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'Bcfg2.settings'