Make the /etc/awx/ migration more permissive for one run.

This commit is contained in:
Luke Sneeringer
2014-08-22 12:33:00 -04:00
parent 27f2e05431
commit 6d65423a8c

View File

@@ -32,7 +32,7 @@ SECRET_KEY = None
ALLOWED_HOSTS = []
# Production should only use minified JS for UI.
USE_MINIFIED_JS = True
USE_MINIFIED_JS = True
# URL used by inventory script and callback plugin to access API.
INTERNAL_API_URL = 'http://127.0.0.1:80'
@@ -81,7 +81,7 @@ except IOError:
if (not included_file or included_file == settings_file):
# The import doesn't always give permission denied, so try to open the
# settings file directly.
try:
try:
e = None
open(settings_file)
except IOError, e: