Author: jim++ Date: 2007-02-04 15:09:38 +0100 (Sun, 04 Feb 2007) New Revision: 7936
Modified: trunk/src/gajim.py Log: Removing useless global vars (finally found a good debugger :)
Modified: trunk/src/gajim.py =================================================================== --- trunk/src/gajim.py 2007-02-04 13:01:04 UTC (rev 7935) +++ trunk/src/gajim.py 2007-02-04 14:09:38 UTC (rev 7936) @@ -162,6 +162,8 @@ dlg.destroy() sys.exit()
+del pritext + path = os.getcwd() if '.svn' in os.listdir(path) or '_svn' in os.listdir(path): # import gtkexcepthook only for those that run svn @@ -192,12 +194,14 @@ from common import optparser
if verbose: gajim.verbose = True +del verbose
import locale profile = unicode(profile, locale.getpreferredencoding())
import common.configpaths common.configpaths.init_profile(profile) +del profile gajimpaths = common.configpaths.gajimpaths
pid_filename = gajimpaths['PID_FILE'] @@ -316,6 +320,7 @@ f.write(str(os.getpid())) f.close() del pid_dir +del f
def on_exit(): # delete pid file on normal exit