[cairo-commit] pycairo/examples/svg svgview.py,1.6,1.7
Steve Chaplin
commit at pdx.freedesktop.org
Fri May 20 04:07:33 PDT 2005
- Previous message: [cairo-commit] pycairo ChangeLog, 1.120, 1.121 README, 1.12,
1.13 configure.ac, 1.23, 1.24 RELEASING, 1.7, 1.8 NEWS, 1.9, 1.10
- Next message: [cairo-commit] pycairo/examples/cairo_snippets/snippets libsvg.py,
1.1, 1.2 __init__.py, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: stevech1097
Update of /cvs/cairo/pycairo/examples/svg
In directory gabe:/tmp/cvs-serv19127/examples/svg
Modified Files:
svgview.py
Log Message:
SC
Index: svgview.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/svg/svgview.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- svgview.py 20 May 2005 08:57:44 -0000 1.6
+++ svgview.py 20 May 2005 11:07:31 -0000 1.7
@@ -137,8 +137,9 @@
self.svg = cairo.svg.Context()
try:
self.svg.parse (filename)
- except Exception, exc:
- print exc
+ except cairo.svg.Error:
+ exc_type, exc_value = sys.exc_info()[:2]
+ print >>sys.stderr, '%s: %s' % (exc_type, exc_value)
else:
if self.af is None:
- Previous message: [cairo-commit] pycairo ChangeLog, 1.120, 1.121 README, 1.12,
1.13 configure.ac, 1.23, 1.24 RELEASING, 1.7, 1.8 NEWS, 1.9, 1.10
- Next message: [cairo-commit] pycairo/examples/cairo_snippets/snippets libsvg.py,
1.1, 1.2 __init__.py, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list