aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-14 07:37:27 +0000
committerDavid Robillard <d@drobilla.net>2011-11-14 07:37:27 +0000
commit855375246e36cd3edb365962349b8a316867ee37 (patch)
tree00eec3a9a19107fa62860257c80854062d52baa6
parent58597a317441496a61d66bb34d313560ef90246d (diff)
downloadlv2-855375246e36cd3edb365962349b8a316867ee37.tar.xz
Less mysterious diagnostic message
-rwxr-xr-xlv2specgen/lv2specgen.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index c1c7741..eb60e7c 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -150,7 +150,8 @@ def niceName(uri):
if pref in ns_list:
return ns_list.get(pref, pref) + ":" + rez.group(2)
else:
- print ns_list
+ print("warning: prefix %s not in ns list:" % pref)
+ print(ns_list)
return uri