From 1846cfefc69ebcbfe1de024c1da0c35b153ff9d1 Mon Sep 17 00:00:00 2001 From: Jean-Marie Traissard Date: Sun, 20 Apr 2008 15:24:34 +0000 Subject: [PATCH] Remove global temp vars after use --- src/common/gajim.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/gajim.py b/src/common/gajim.py index 882edf3ef..f305ba546 100644 --- a/src/common/gajim.py +++ b/src/common/gajim.py @@ -66,6 +66,8 @@ f = logging.Formatter('%(asctime)s %(name)s: %(message)s', '%d %b %Y %H:%M:%S') h.setFormatter(f) log = logging.getLogger('Gajim') log.addHandler(h) +del h +del f import logger logger = logger.Logger() # init the logger @@ -162,6 +164,7 @@ else: status = os.system('gpg -h >/dev/null 2>&1') if status != 0: HAVE_GPG = False + del status def get_nick_from_jid(jid): pos = jid.find('@')