def item_from_env(env, item_name):
 item = env.get(item_name, None)
 if (item is None):
  logging.error(('ERROR: %s could not be found in env!' % item_name))
 return item

def item_from_env ( env , item_name ) : item = env . get ( item_name , None ) if ( item is None ) : logging . error ( ( 'ERROR: %s could not be found in env!' % item_name ) ) return item
get a value from the wsgi environment .