summaryrefslogtreecommitdiff
path: root/qpid/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
commitdbff5a5c84ff1ce83dd64130051b554f59491fda (patch)
treed0a883c9491290d8f8e42de3ecf6c6a131b04c65 /qpid/tools/src
parent631a175a87b57f2e7fd087458156d7efe9f46edc (diff)
downloadqpid-python-dbff5a5c84ff1ce83dd64130051b554f59491fda.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@1584347 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/tools/src')
-rw-r--r--qpid/tools/src/py/qpidstore/janal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/tools/src/py/qpidstore/janal.py b/qpid/tools/src/py/qpidstore/janal.py
index 231b283c05..1a892aca60 100644
--- a/qpid/tools/src/py/qpidstore/janal.py
+++ b/qpid/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: