#NEWLINE# @ staticmethod #NEWLINE# def from_env( identity ) : #NEWLINE# #INDENT# if ( 'GROUNDSTATION_HOME' in os . environ ) : #NEWLINE# #INDENT# return Station ( os . getenv ( 'GROUNDSTATION_HOME' ) , identity ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# station_path = os . path . expanduser ( '~/.groundstation' ) #NEWLINE# return Station ( station_path , identity )