From: Marcin Koziej Date: Wed, 14 Nov 2012 17:06:28 +0000 (+0100) Subject: Fix? X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/841482ca6227b2e32740846fce1ed47d4fed9db8?ds=sidebyside Fix? --- diff --git a/apps/catalogue/management/edumed.py b/apps/catalogue/management/edumed.py index c384dac2..b1e67c38 100644 --- a/apps/catalogue/management/edumed.py +++ b/apps/catalogue/management/edumed.py @@ -96,7 +96,7 @@ class Informacje(Tagger): class List(Tagger): point = re.compile(r"^[\s]*[-*·]{1,2}(.*)") - num = re.compile(r"^[\s]*[0-9a-z]{1,2}[.]\s+(.*)") + num = re.compile(r"^[\s]*[a-z]{1,2}[.]\s+(.*)") def __init__(self, *args): @@ -260,7 +260,7 @@ dc_fixed = { def find_block(content, title_re, begin=-1, end=-1): title_re = re.compile(title_re, re.I | re.UNICODE) - print "looking for %s" % title_re.pattern + ## print "looking for %s" % title_re.pattern if title_re.pattern[0:6] == 'pomoce': import pdb; pdb.set_trace()