From a17ace8296df1d91d9f940c80d96a269eba626e5 Mon Sep 17 00:00:00 2001 From: Marcin Koziej Date: Fri, 18 Jan 2013 13:39:16 +0100 Subject: [PATCH] remove prints --- librarian/pyhtml.py | 4 ---- 1 file changed, 4 deletions(-) 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, '
  • ' -- 2.20.1