[Pkg-gourmet-changes] gourmet/debian/patches 00list, NONE,
1.1 01_printer_warning.dpatch, NONE, 1.1
el_cubano-guest at haydn.debian.org
el_cubano-guest at haydn.debian.org
Sat Oct 29 22:22:14 UTC 2005
Update of /cvsroot/pkg-gourmet/gourmet/debian/patches
In directory haydn:/tmp/cvs-serv773/debian/patches
Added Files:
00list 01_printer_warning.dpatch
Log Message:
Added patch to comment out global declarations that caused warning, made a note to that effect in debian/changelog and added dpatch as a Build-Depends
--- 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