summaryrefslogtreecommitdiff
path: root/rdflib/tools/rdfs2dot.py
diff options
context:
space:
mode:
Diffstat (limited to 'rdflib/tools/rdfs2dot.py')
-rw-r--r--rdflib/tools/rdfs2dot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdflib/tools/rdfs2dot.py b/rdflib/tools/rdfs2dot.py
index 69ecfba5..4e639b48 100644
--- a/rdflib/tools/rdfs2dot.py
+++ b/rdflib/tools/rdfs2dot.py
@@ -87,7 +87,7 @@ def rdfs2dot(g, stream, opts={}):
if lbl is None:
try:
lbl = grf.namespace_manager.compute_qname(xx)[2]
- except:
+ except Exception:
pass # bnodes and some weird URIs cannot be split
return lbl