[Pkg-bitcoin-commits] [python-quamash] 08/78: Remove logging in timerEvent
Jonas Smedegaard
dr at jones.dk
Tue Dec 19 01:19:51 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag debian/0.6.0_dfsg-1
in repository python-quamash.
commit 3c6c19094089ffd1e6fff922f56430b0bfbcdf2a
Author: inso <insomniak.fr at gmaiL.com>
Date: Sat Sep 10 13:06:45 2016 +0200
Remove logging in timerEvent
---
quamash/__init__.py | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/quamash/__init__.py b/quamash/__init__.py
index d2fc3ad..260420a 100644
--- a/quamash/__init__.py
+++ b/quamash/__init__.py
@@ -190,9 +190,9 @@ class _SimpleTimer(QtCore.QObject):
def timerEvent(self, event): # noqa
timerid = event.timerId()
- self._logger.debug("Timer event on id {0}".format(timerid))
+ #self._logger.debug("Timer event on id {0}".format(timerid))
if self._stopped:
- self._logger.debug("Timer stopped, killing {}".format(timerid))
+ #self._logger.debug("Timer stopped, killing {}".format(timerid))
self.__callbacks.pop(timerid)
self.killTimer(timerid)
else:
@@ -201,11 +201,13 @@ class _SimpleTimer(QtCore.QObject):
except KeyError as e :
self._logger.debug(str(e))
pass
- if handle._cancelled:
- self._logger.debug("Handle {} cancelled".format(handle))
else:
- self._logger.debug("Calling handle {}".format(handle))
- handle._run()
+ if handle._cancelled:
+ pass
+ #self._logger.debug("Handle {} cancelled".format(handle))
+ else:
+ #self._logger.debug("Calling handle {}".format(handle))
+ handle._run()
self.killTimer(timerid)
def stop(self):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/python-quamash.git
More information about the Pkg-bitcoin-commits
mailing list