File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717for env_check in open (conffilename ): # Open the config file and read all the settings
1818 env_check = env_check .strip () # Set the variable as itself, but strip the extra text out
19- print '[{}]' .format (env_check ) # Format the Output to be in Square Brackets
19+ print ( '[{}]' .format (env_check ) ) # Format the Output to be in Square Brackets
2020 newenv = os .getenv (env_check ) # Set the variable newenv to get the settings from the OS what is currently set for the settings out the configfile
2121
2222 if newenv is None : # If it doesn't exist
23- print env_check , 'is not set' # Print it is not set
23+ print ( env_check , 'is not set' ) # Print it is not set
2424 else : # Else if it does exist
25- print 'Current Setting for {}={}\n ' .format (env_check , newenv ) # Print out the details
25+ print ( 'Current Setting for {}={}\n ' .format (env_check , newenv ) # Print out the details)
You can’t perform that action at this time.
0 commit comments