python 2.4 hates Exception.message, and it's not really crucial here anyway, so ditch it. Closes LP #262452
This commit is contained in:
parent
3c77ec10c1
commit
11df8b9783
|
@ -203,7 +203,7 @@ class TerminatorConfValuestoreRC (TerminatorConfValuestore):
|
|||
try:
|
||||
directory = os.environ['XDG_CONFIG_HOME']
|
||||
except KeyError, e:
|
||||
dbg(" VS_RCFile: Environment variable %s not found. defaulting to ~/.config" % e.message)
|
||||
dbg(" VS_RCFile: Environment variable XDG_CONFIG_HOME not found. defaulting to ~/.config")
|
||||
directory = os.path.join (os.path.expanduser("~"), ".config")
|
||||
self.rcfilename = os.path.join(directory, "terminator/config")
|
||||
dbg(" VS_RCFile: config file located at %s" % self.rcfilename)
|
||||
|
|
Loading…
Reference in New Issue