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:
Chris Jones 2008-08-29 14:09:29 +01:00
parent 3c77ec10c1
commit 11df8b9783

View File

@ -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)