--- a/ext/rest.py Tue Sep 20 15:14:04 2011 +0200
+++ b/ext/rest.py Wed Sep 21 17:38:00 2011 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# This file is part of CubicWeb.
@@ -71,7 +71,7 @@
try:
try:
eid_num, rest = text.split(u':', 1)
- except:
+ except ValueError:
eid_num, rest = text, '#'+text
eid_num = int(eid_num)
if eid_num < 0: