Skip to content

Commit e9d2248

Browse files
committed
-> Report the application version seen in settings.py
1 parent 3d14a56 commit e9d2248

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

idc/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,14 +160,15 @@
160160
print(e)
161161
VERSION = "{}.{}.{}".format("local-dev", datetime.datetime.now().strftime('%Y%m%d%H%M'), "unavailable")
162162
else:
163-
print("[ERROR] Application version file not found for test/prod deployment! Exiting...")
163+
print("[ERROR] Application version file not found for non-dev deployment! Exiting...")
164164
exit(1)
165165

166166
APP_VERSION = os.environ.get("APP_VERSION", VERSION)
167167

168168
DEV_TIER = bool(DEBUG or re.search(r'^local-dev\.', APP_VERSION))
169169

170170
print("[STATUS] DEV_TIER setting is {}".format(DEV_TIER))
171+
print("[STATUS] Application version is {}".format(APP_VERSION))
171172

172173
# If this is a GAE-Flex deployment, we don't need to specify SSL; the proxy will take
173174
# care of that for us

0 commit comments

Comments
 (0)