From 841482ca6227b2e32740846fce1ed47d4fed9db8 Mon Sep 17 00:00:00 2001 From: Marcin Koziej Date: Wed, 14 Nov 2012 18:06:28 +0100 Subject: [PATCH] Fix? --- apps/catalogue/management/edumed.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.20.1