aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar scragly <[email protected]>2019-09-21 12:46:52 +1000
committerGravatar scragly <[email protected]>2019-09-21 12:46:52 +1000
commitffb6f5e34521678b6ca4aa488c7da248c8c65246 (patch)
tree3ba41884d82fc4db959b2b57473d3a350fdeab8b
parentRevert uwsgi back to pip install. (#254) (diff)
Add some bad stuff for lint test to pick up.
-rwxr-xr-xmanage.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/manage.py b/manage.py
index b257ea65..05180d65 100755
--- a/manage.py
+++ b/manage.py
@@ -3,6 +3,7 @@ import os
import sys
+
# Separate definition to ease calling this in other scripts.
def main():
"""Entry point for Django management script."""
@@ -14,8 +15,8 @@ def main():
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
- ) from exc
- execute_from_command_line(sys.argv)
+ from exc
+ execute_from_command_line (sys.argv)
if __name__ == '__main__':