From 158538b81cea0f9b8348fc7e25fc3458b9894b50 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 11 Oct 2008 10:22:04 +0000 Subject: [thorstenp] rename some var to not hide builts-in functions (list -> list_, ...) --- test/lib/mocks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/lib') 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: -- cgit v1.2.3