From b7bd648762b5d78871446a55344d27231ebb9273 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 19 Apr 2011 07:20:39 +0900 Subject: [PATCH] remove some debugging --- aqt/browser.py | 2 -- aqt/editor.py | 11 +++++------ 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/aqt/browser.py b/aqt/browser.py index 00991e2de..1b85e6b5d 100644 --- a/aqt/browser.py +++ b/aqt/browser.py @@ -134,9 +134,7 @@ class DeckModel(QAbstractTableModel): def endReset(self): t = time.time() self.endResetModel() - print "end", time.time() - t; t = time.time() self.restoreSelection() - print "sel", time.time() - t; t = time.time() self.browser.mw.progress.finish() def reverse(self): diff --git a/aqt/editor.py b/aqt/editor.py index 847c3650c..b0355b708 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -315,7 +315,6 @@ class Editor(object): ###################################################################### def bridge(self, str): - print "bridge", str if not self.fact or not runHook: # shutdown return @@ -817,11 +816,11 @@ class EditorWebView(AnkiWebView): clip.setMimeData(mime) def _processMime(self, mime): - print "html=%s image=%s urls=%s txt=%s" % ( - mime.hasHtml(), mime.hasImage(), mime.hasUrls(), mime.hasText()) - print "html", mime.html() - print "urls", mime.urls() - print "text", mime.text() + # print "html=%s image=%s urls=%s txt=%s" % ( + # mime.hasHtml(), mime.hasImage(), mime.hasUrls(), mime.hasText()) + # print "html", mime.html() + # print "urls", mime.urls() + # print "text", mime.text() if mime.hasUrls(): return self._processUrls(mime) elif mime.hasImage():