mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
remove debugging
This commit is contained in:
parent
17a80e13c0
commit
8a2ca46a7a
2 changed files with 2 additions and 4 deletions
|
@ -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()
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue