From 94fb7d49d6d607841e12636f21018bbdf8e9e2bd Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Thu, 18 Nov 2010 17:57:51 +0000 Subject: [PATCH] Remove stray print statements --- openlp/core/lib/theme.py | 6 ------ openlp/core/ui/mainwindow.py | 1 - openlp/plugins/songs/forms/editverseform.py | 1 - 3 files changed, 8 deletions(-) diff --git a/openlp/core/lib/theme.py b/openlp/core/lib/theme.py index 4ebd153a3..f211048e3 100644 --- a/openlp/core/lib/theme.py +++ b/openlp/core/lib/theme.py @@ -445,10 +445,8 @@ class ThemeXML(object): except etree.XMLSyntaxError: log.exception(u'Invalid xml %s', xml) return - # print objectify.dump(theme_xml) xml_iter = theme_xml.getiterator() for element in xml_iter: - #print "base", element.getparent(), element.tag, element.text, element.attrib parent = element.getparent() master = u'' if parent is not None: @@ -468,7 +466,6 @@ class ThemeXML(object): self._create_attr(master, attr, \ element.getparent().attrib[attr]) if master: - #print "A", element.tag self._create_attr(master, element.tag, element.text) if element.attrib: for attr in element.attrib: @@ -480,7 +477,6 @@ class ThemeXML(object): self._create_attr(master, base_element, element.attrib[attr]) else: - #print "C", element.tag if element.tag == u'name': self._create_attr(u'theme', element.tag, element.text) @@ -491,7 +487,6 @@ class ThemeXML(object): master = master.strip().lstrip() element = element.strip().lstrip() value = unicode(value).strip().lstrip() - #print "start", master, element, value if master == u'display': if element == u'wrapStyle': return True, None, None, None @@ -506,7 +501,6 @@ class ThemeXML(object): value = True if element == u'proportion': element = u'size' - #print "end", master, element, value return False, master, element, value def _create_attr(self, master , element, value): diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index 8e1e25fe3..a513cc99e 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -951,7 +951,6 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow): """ Save the main window settings. """ - print self.saveState() log.debug(u'Saving QSettings') settings = QtCore.QSettings() settings.beginGroup(self.generalSettingsSection) diff --git a/openlp/plugins/songs/forms/editverseform.py b/openlp/plugins/songs/forms/editverseform.py index b32712d8d..d954bfb1f 100644 --- a/openlp/plugins/songs/forms/editverseform.py +++ b/openlp/plugins/songs/forms/editverseform.py @@ -60,7 +60,6 @@ class EditVerseForm(QtGui.QDialog, Ui_EditVerseDialog): def contextMenu(self, point): item = self.serviceManagerList.itemAt(point) - print item def insertVerse(self, title, num=1): if self.verseTextEdit.textCursor().columnNumber() != 0: