[Pkg-gourmet-changes] gourmet/debian/patches 00list, NONE, 1.1 01_printer_warning.dpatch, NONE, 1.1

seanius at haydn.debian.org seanius at haydn.debian.org
Mon Nov 7 07:05:10 UTC 2005


Update of /cvsroot/pkg-gourmet/gourmet/debian/patches
In directory haydn:/org/alioth.debian.org/chroot/home/users/seanius/tmp/cvs-serv20516/patches

Added Files:
	00list 01_printer_warning.dpatch 
Log Message:
adding new files

--- NEW FILE: 00list ---
01_printer_warning.dpatch

--- NEW FILE: 01_printer_warning.dpatch ---
#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_printer_warning.dpatch by  <roberto at familiasanchez.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Comment out warning-causing statements

@DPATCH@

--- gourmet/src/lib/exporters/printer.py.orig	2005-10-29 14:41:03.712841411 -0400
+++ gourmet/src/lib/exporters/printer.py	2005-09-27 19:32:42.000000000 -0400
@@ -29,10 +29,12 @@
 def load_lprprint ():
     if os.name == 'nt':
         print 'Install wxWindows to print on Windows'
-        global RecRenderer,SimpleWriter
+        # TODO: figure out why this caused a warning
+        # global RecRenderer,SimpleWriter
         from winprinter import RecRenderer, SimpleWriter
     else:
-        global RecRenderer,SimpleWriter
+        # TODO: figure out why this caused a warning
+        # global RecRenderer,SimpleWriter
         from lprprinter import RecRenderer, SimpleWriter
 
 




More information about the Pkg-gourmet-changes mailing list