changeset 578 | 0f34318f5693 |
parent 114 | 9998e95ce609 |
child 1307 | 091a21cf3627 |
--- a/app/soc/logic/system.py Sun Nov 23 06:34:22 2008 +0000 +++ b/app/soc/logic/system.py Sun Nov 23 07:15:13 2008 +0000 @@ -22,6 +22,7 @@ ] +import os import settings @@ -32,3 +33,9 @@ more sophisticated in the future. """ return settings.DEBUG + +def getAppVersion(): + """Returns the Google App Engine "version" of the running instance. + """ + return os.environ.get('CURRENT_VERSION_ID') +