diff options
author | Scott Hernandez <scotthernandez@gmail.com> | 2013-08-13 11:04:16 -0400 |
---|---|---|
committer | Scott Hernandez <scotthernandez@gmail.com> | 2013-08-13 11:04:16 -0400 |
commit | b2b0616c613177255f7db56029c4d9934443d4c7 (patch) | |
tree | 6496e297d4ced0c9719341f578e055778b401dca /buildscripts | |
parent | d4f670c95a3cc81f4ea297ff0cf809568261dcaf (diff) | |
download | mongo-b2b0616c613177255f7db56029c4d9934443d4c7.tar.gz |
fix for old python versions
Diffstat (limited to 'buildscripts')
-rwxr-xr-x | buildscripts/smoke.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py index cd6b57f4cc2..13a7d63af7c 100755 --- a/buildscripts/smoke.py +++ b/buildscripts/smoke.py @@ -362,7 +362,7 @@ def check_db_hashes(master, slave): try: stats["docs"] = {'master':list(mTestDB[coll].find(limit=10)), 'slave':list(sTestDB[coll].find(limit=10))} - except Exception as e: + except Exception, e: stats["error-docs"] = e; screwy_in_slave[coll] = stats for db in slave.dict.keys(): |