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 = []
|
chanrefs = []
|
||||||
try:
|
try:
|
||||||
for i in xrange(100):
|
for i in xrange(100):
|
||||||
channel = conn.channel()
|
channel = conn.channel()
|
||||||
chanrefs.append(weakref.ref(channel))
|
chanrefs.append(weakref.ref(channel))
|
||||||
channel.close()
|
channel.close()
|
||||||
finally:
|
finally:
|
||||||
conn.close()
|
conn.close()
|
||||||
return chanrefs
|
return chanrefs
|
||||||
|
|
||||||
for chanref in _createref():
|
for chanref in _createref():
|
||||||
|
|
Loading…
Reference in New Issue