Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use older exception syntax to support python 2.5

  • Loading branch information...
commit 71798475d2899dc78fcdac1b024c7b7f28a18992 1 parent d7eb541
bburns authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  handlers.py
View
2  handlers.py
@@ -290,7 +290,7 @@ def __output_results(self, cursor, out, batch_size=15):
except AutoReconnect:
out(json.dumps({"ok" : 0, "errmsg" : "auto reconnecting, please try again"}))
return
- except OperationFailure as of:
+ except OperationFailure, of:
out(json.dumps({"ok" : 0, "errmsg" : "%s" % of}))
return
except StopIteration:
Please sign in to comment.
Something went wrong with that request. Please try again.