[prev in list] [next in list] [prev in thread] [next in thread]
List: pyamf-commits
Subject: [pyamf-commits] r1626 - pyamf/branches/nan-failures-345/pyamf
From: commits () pyamf ! org (SVN commit logs for PyAMF)
Date: 2008-08-30 18:13:11
Message-ID: 20080830181311.89D0E884079 () mail ! collab ! eu
[Download RAW message or body]
Author: nick
Date: 2008-08-30 20:13:11 +0200 (Sat, 30 Aug 2008)
New Revision: 1626
Modified:
pyamf/branches/nan-failures-345/pyamf/amf0.py
Log:
Correct syntax ..
Modified: pyamf/branches/nan-failures-345/pyamf/amf0.py
===================================================================
--- pyamf/branches/nan-failures-345/pyamf/amf0.py 2008-08-30 18:07:37 UTC (rev 1625)
+++ pyamf/branches/nan-failures-345/pyamf/amf0.py 2008-08-30 18:13:11 UTC (rev 1626)
@@ -914,7 +914,7 @@
"""
try:
y = int(x)
- except OverflowError, ValueError:
+ except (OverflowError, ValueError):
pass
else:
# There is no way in AMF0 to distinguish between integers and floats
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic