summaryrefslogtreecommitdiff
path: root/src/user.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-06-13 16:01:38 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-06-13 16:01:38 +0000
commita35866ba8d0ea2959133331f41ddfad8ef74e23f (patch)
tree6c9acd8acfe9dd0c8fc82da0b0031b71283ca502 /src/user.py
parentaccfe046bea252f12ecd441bee348d3cd7e1bf84 (diff)
downloadpoezio-a35866ba8d0ea2959133331f41ddfad8ef74e23f.tar.gz
poezio-a35866ba8d0ea2959133331f41ddfad8ef74e23f.tar.bz2
poezio-a35866ba8d0ea2959133331f41ddfad8ef74e23f.tar.xz
poezio-a35866ba8d0ea2959133331f41ddfad8ef74e23f.zip
code cleanup before 0.6 beta
Diffstat (limited to 'src/user.py')
-rw-r--r--src/user.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/user.py b/src/user.py
index 6f0f3328..8ec76ba4 100644
--- a/src/user.py
+++ b/src/user.py
@@ -51,11 +51,9 @@ class User(object):
get a int
Return True if the user talked since the last s seconds
"""
- from common import debug
if self.last_talked is None:
return False
delta = timedelta(0, t)
- debug("Last talk: %s\nDelai:%s\nDelta:%s\n" % (str(self.last_talked), str(t), str(delta)))
if datetime.now() - delta > self.last_talked:
return False
return True