[cairo-commit] pycairo/examples/cairo_snippets snippets_pdf.py, 1.5, 1.6

Steve Chaplin commit at pdx.freedesktop.org
Tue May 17 21:42:44 PDT 2005


Committed by: stevech1097

Update of /cvs/cairo/pycairo/examples/cairo_snippets
In directory gabe:/tmp/cvs-serv12114/examples/cairo_snippets

Modified Files:
	snippets_pdf.py 
Log Message:
SC

Index: snippets_pdf.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/cairo_snippets/snippets_pdf.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- snippets_pdf.py	17 May 2005 02:44:20 -0000	1.5
+++ snippets_pdf.py	18 May 2005 04:42:42 -0000	1.6
@@ -29,10 +29,9 @@
     except:
         exc_type, exc_value = sys.exc_info()[:2] 
         print exc_type, exc_value
-    
-    cr.restore()
-
-    cr.show_page()
+    else:
+        cr.restore()
+        cr.show_page()
     
     if Verbose_mode:
         print




More information about the cairo-commit mailing list