#NEWLINE# def getprofileini( ) : #NEWLINE# #INDENT# if ( 'DGIT_INI' in os . environ ) : #NEWLINE# #INDENT# profileini = os . environ [ 'DGIT_INI' ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# homedir = os . path . abspath ( os . environ [ 'HOME' ] ) #NEWLINE# profileini = os . path . join ( homedir , '.dgit.ini' ) #NEWLINE# #UNINDENT# return profileini