Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contrib/release/bump_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def cmd(*args):
def no_enoent():
try:
yield
except OSError, exc:
except OSError as exc:
if exc.errno != errno.ENOENT:
raise

Expand Down
4 changes: 2 additions & 2 deletions funtests/disabled_basic_get_leak.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

from time import sleep

for i in xrange(10000):
for i in range(10000):
c.basic_publish('foo', exchange='getmem', routing_key='getmem')
if not i % 1000:
print('sent %s' % i)

for i in xrange(10000):
for i in range(10000):
assert c.basic_get('getmem', no_ack=True)
if not i % 1000:
print(i)
Expand Down
Loading