remove debugging

This commit is contained in:
Damien Elmes 2012-04-07 18:21:03 +09:00
parent 17a80e13c0
commit 8a2ca46a7a
2 changed files with 2 additions and 4 deletions

View file

@ -110,7 +110,7 @@ class DataModel(QAbstractTableModel):
# old data first
self.cards = []
self.cards = self.col.findCards(txt, self.browser.mw.pm.profile['fullSearch'])
print "fetch cards in %dms" % ((time.time() - t)*1000)
#print "fetch cards in %dms" % ((time.time() - t)*1000)
if reset:
self.endReset()

View file

@ -287,7 +287,7 @@ Are you sure?"""):
##########################################################################
def moveToState(self, state, *args):
print "-> move from", self.state, "to", state
#print "-> move from", self.state, "to", state
oldState = self.state or "dummy"
cleanup = getattr(self, "_"+oldState+"Cleanup", None)
if cleanup:
@ -314,7 +314,6 @@ Are you sure?"""):
self.reviewer.show()
def _reviewCleanup(self, newState):
print "rethink cleanup code?"
if newState != "resetRequired":
self.reviewer.cleanup()
@ -959,6 +958,5 @@ Your edits have left some cards empty. Do you want to delete them?"""))
##########################################################################
def setupProxy(self):
print "proxy"
return
# need to bundle socksipy and install a default socket handler