Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 4f4176c45b0e796e77db2839108b5d15c6707779 1 parent b95e53f
Chris Northwood cnorthwood authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  molly/installer/deploy.py
2  molly/installer/deploy.py
@@ -21,7 +21,7 @@ def deploy(venv, site_path, development=False, listen_externally=False,
21 21 """
22 22
23 23 logger.info('Doing a %s install into %s using site %s',
24   - 'development' if development else 'production',
  24 + {True: 'development', False: 'production'}.get(development),
25 25 venv.path, site_path)
26 26
27 27 if not development:

0 comments on commit 4f4176c

Please sign in to comment.
Something went wrong with that request. Please try again.