removed test lines

This commit is contained in:
Andreas Preikschat 2011-06-13 17:19:49 +02:00
parent 254cf20b9f
commit 7d5e349602

View File

@ -171,9 +171,6 @@ class ServiceItem(object):
self.themedata = self.renderer.theme_data self.themedata = self.renderer.theme_data
if self.service_item_type == ServiceItemType.Text: if self.service_item_type == ServiceItemType.Text:
log.debug(u'Formatting slides') log.debug(u'Formatting slides')
import time
import datetime
start = time.time()
for slide in self._raw_frames: for slide in self._raw_frames:
pages = self.renderer.format_slide(slide[u'raw_slide'], self) pages = self.renderer.format_slide(slide[u'raw_slide'], self)
for page in pages: for page in pages:
@ -185,7 +182,6 @@ class ServiceItem(object):
u'html': html.replace(u' ', u' '), u'html': html.replace(u' ', u' '),
u'verseTag': slide[u'verseTag'] u'verseTag': slide[u'verseTag']
}) })
print unicode(datetime.timedelta(seconds=time.time() - start))
elif self.service_item_type == ServiceItemType.Image or \ elif self.service_item_type == ServiceItemType.Image or \
self.service_item_type == ServiceItemType.Command: self.service_item_type == ServiceItemType.Command:
pass pass