Permalink
Browse files

Remove Python 2.5+ syntax from installer so it can run on CentOS 5

  • Loading branch information...
1 parent b95e53f commit 4f4176c45b0e796e77db2839108b5d15c6707779 @cnorthwood cnorthwood committed Jul 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 molly/installer/deploy.py
@@ -21,7 +21,7 @@ def deploy(venv, site_path, development=False, listen_externally=False,
"""
logger.info('Doing a %s install into %s using site %s',
- 'development' if development else 'production',
+ {True: 'development', False: 'production'}.get(development),
venv.path, site_path)
if not development:

0 comments on commit 4f4176c

Please sign in to comment.