summaryrefslogtreecommitdiff
path: root/tools/src
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2014-04-03 19:41:40 +0000
committerKim van der Riet <kpvdr@apache.org>2014-04-03 19:41:40 +0000
commit1269c1745ef9f520cd5d547b289645127a29006f (patch)
tree6866048f8a2d60fe18dd26b88af82e707c40a845 /tools/src
parent3fd60e1a82e660490350017005b1b4547a9c8879 (diff)
downloadqpid-python-1269c1745ef9f520cd5d547b289645127a29006f.tar.gz
QPID-5660: [legacystore] Python tests fail with syntax error on Python 2.4
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1584347 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tools/src')
-rw-r--r--tools/src/py/qpidstore/janal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/src/py/qpidstore/janal.py b/tools/src/py/qpidstore/janal.py
index 231b283c05..1a892aca60 100644
--- a/tools/src/py/qpidstore/janal.py
+++ b/tools/src/py/qpidstore/janal.py
@@ -219,7 +219,7 @@ class TxnMap(object):
if isinstance(hdr, jrnl.DeqRec):
try:
self.__emap.unlock(hdr.deq_rid)
- except jerr.NonExistentRecordError as err: # Not in emap, look in current transaction op list (TPL)
+ except jerr.NonExistentRecordError, err: # Not in emap, look in current transaction op list (TPL)
found_rid = False
for _, hdr1, _ in self.__map[xid]:
if isinstance(hdr1, jrnl.EnqRec) and hdr1.rid == hdr.deq_rid: