X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/803cd9d0e8aeac8b4bacf197dfae80815367ec36..a17ace8296df1d91d9f940c80d96a269eba626e5:/librarian/pyhtml.py diff --git a/librarian/pyhtml.py b/librarian/pyhtml.py index 59455e2..106e30b 100644 --- a/librarian/pyhtml.py +++ b/librarian/pyhtml.py @@ -272,7 +272,6 @@ class Zastap(Luki): class Przyporzadkuj(Excercise): def handle_lista(self, lista): - print "in lista %s %s" % (lista.attrib, self.options) if 'nazwa' in lista.attrib: attrs = { 'data-name': lista.attrib['nazwa'], @@ -291,8 +290,6 @@ class Przyporzadkuj(Excercise): return pre, post + '
' def handle_punkt(self, element): - print "in punkt %s %s" % (element.attrib, self.options) - if self.options['subject']: self.piece_counter += 1 if self.options['handles']: @@ -301,7 +298,6 @@ class Przyporzadkuj(Excercise): return '
  • ' % (element.attrib['rozw'], self.piece_counter), '
  • ' elif self.options['predicate']: - print etree.tostring(element, encoding=unicode) placeholders = u'
  • ' return '
  • ' % element.attrib, '
  • '