From: Sean Graham Date: Fri, 27 Feb 2009 15:38:25 +0000 (+0800) Subject: i'm an idiot and forgot to blow away the variable declarations inside X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=be9223b43798a61eed6ae110842bee54e02afe98;p=oss%2Fljdump.git i'm an idiot and forgot to blow away the variable declarations inside replaceLJTags after moving them to the global scope. Signed-off-by: Greg Hewgill --- diff --git a/convertdump.py b/convertdump.py index 4eb143d..0f59e82 100755 --- a/convertdump.py +++ b/convertdump.py @@ -190,14 +190,6 @@ embedRE = re.compile('', re.IGNORECASE) def replaceLJTags(entry): rv = entry - userRE = re.compile('', re.IGNORECASE) - commRE = re.compile('', re.IGNORECASE) - namedCutRE = re.compile('', - re.IGNORECASE|re.DOTALL) - cutRE = re.compile('', re.IGNORECASE) - cutRE = re.compile('', re.IGNORECASE) - embedRE = re.compile('', re.IGNORECASE) - # replace lj user tags rv = re.sub(userRE, '\\1', rv)