mirror of https://github.com/celery/kombu.git
Fixes syntax errors in funtests/transport.py
This commit is contained in:
parent
1c5f0ecf9f
commit
35d78df332
|
@ -289,11 +289,11 @@ class TransportCase(unittest.TestCase):
|
|||
chanrefs = []
|
||||
try:
|
||||
for i in xrange(100):
|
||||
channel = conn.channel()
|
||||
channel = conn.channel()
|
||||
chanrefs.append(weakref.ref(channel))
|
||||
channel.close()
|
||||
channel.close()
|
||||
finally:
|
||||
conn.close()
|
||||
conn.close()
|
||||
return chanrefs
|
||||
|
||||
for chanref in _createref():
|
||||
|
|
Loading…
Reference in New Issue