aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-21 22:38:54 +0000
committerDavid Robillard <d@drobilla.net>2011-11-21 22:38:54 +0000
commitbd75bf8034d935aaeae81ac51124168f770071da (patch)
treec4ab1a3ffa7977d55887902c6e4ceafce9cd9d00
parent72c20ba0ec604b15fc62f11ccde5c32662f86f3a (diff)
downloadlv2-bd75bf8034d935aaeae81ac51124168f770071da.tar.xz
Remove Python 2.7 syntax.
-rw-r--r--ext.wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext.wscript b/ext.wscript
index 842abef..bfb3aad 100644
--- a/ext.wscript
+++ b/ext.wscript
@@ -134,8 +134,8 @@ def write_news():
try:
for i in glob.glob('*.ttl'):
m.parse(i, format='n3')
- except Exception as e:
- print('warning: error parsing data, unable to generate NEWS ' + str(e))
+ except:
+ print('warning: error parsing data, unable to generate NEWS')
return
spec = m.value(None, rdf.type, doap.Project)