def _get_app_revision(environ=None):
 if (environ is None):
  environ = os.environ
 if ('CURRENT_VERSION_ID' in environ):
  return environ['CURRENT_VERSION_ID'].split('.')[1]

def _get_app_revision ( environ = None ) : if ( environ is None ) : environ = os . environ if ( 'CURRENT_VERSION_ID' in environ ) : return environ [ 'CURRENT_VERSION_ID' ] . split ( '.' ) [ 1 ]
gets the app revision of the current app .