Permalink
Browse files

remove os.environ poke

  • Loading branch information...
1 parent b40d94d commit 98dcdd7c9e9c63db3d29d04c8df4554454db21cf James Casbon committed Nov 24, 2009
@@ -11,7 +11,6 @@ class Command(NoArgsCommand):
"""
def handle_noargs(self, **options):
- os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
abspath = os.path.abspath(".")
cmd = "twistd "
if not options.get('daemonize', False):
@@ -26,7 +26,6 @@ class Command(NoArgsCommand):
def handle_noargs(self, **options):
abspath = os.path.abspath(".")
- os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
server_log = os.path.join(abspath, 'data', 'server.log')
static_files = os.path.join(abspath, 'frontend', 'static')
cmd = "twistd "
@@ -10,7 +10,6 @@ class Command(NoArgsCommand):
"""
def handle_noargs(self, **options):
- os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
abspath = os.path.abspath(env_path)
server_log = os.path.join(abspath, 'data', 'server.log')
static_files = os.path.join(abspath, 'frontend', 'static')

0 comments on commit 98dcdd7

Please sign in to comment.