Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2008-10-11 14:22:04 +0400
committerYann Leboulanger <asterix@lagaule.org>2008-10-11 14:22:04 +0400
commit158538b81cea0f9b8348fc7e25fc3458b9894b50 (patch)
tree36bb2724304181e6229194c313f52c8e3418d2e7 /test/lib
parent7ca3dabbb9cca5021a356572925bd8c0c5c49cc2 (diff)
[thorstenp] rename some var to not hide builts-in functions (list -> list_, ...)
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/mocks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/mocks.py b/test/lib/mocks.py
index 8d0e80f96..a58d24de8 100644
--- a/test/lib/mocks.py
+++ b/test/lib/mocks.py
@@ -122,12 +122,12 @@ class MockContact(Mock):
import random
class MockSession(Mock):
- def __init__(self, conn, jid, thread_id, type):
+ def __init__(self, conn, jid, thread_id, type_):
Mock.__init__(self)
self.conn = conn
self.jid = jid
- self.type = type
+ self.type = type_
self.thread_id = thread_id
if not self.thread_id: