[wpdev-commits] xmlscripts/scripts/wolfpack gumps.py,1.12,1.13
Brought to you by:
rip,
thiagocorrea
|
From: <dar...@pr...> - 2004-02-01 23:59:20
|
Update of /cvsroot/wpdev/xmlscripts/scripts/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27648/wolfpack Modified Files: gumps.py Log Message: Barber changes. Index: gumps.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/gumps.py,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** gumps.py 1 Feb 2004 23:55:51 -0000 1.12 --- gumps.py 1 Feb 2004 23:57:23 -0000 1.13 *************** *** 10,13 **** --- 10,15 ---- from types import * + + class cGump: def __init__(self, noclose=0, nomove=0, nodispose=0, x=0, y=0, callback="", args = [], type = 0, serial = 0): *************** *** 37,48 **** # Dump the gump data ! file = open( 'dump.txt', 'w' ) ! file.write( "--------\nLayout:\n" ) ! for line in self.layout: ! file.write( line + "\n" ) ! file.write( "--------\nText:\n" ) ! for line in self.texts: ! file.write( line + "\n" ) ! file.close() if( self.noclose == 1 ): --- 39,50 ---- # Dump the gump data ! #file = open( 'dump.txt', 'w' ) ! #file.write( "--------\nLayout:\n" ) ! #for line in self.layout: ! # file.write( line + "\n" ) ! #file.write( "--------\nText:\n" ) ! #for line in self.texts: ! # file.write( line + "\n" ) ! #file.close() if( self.noclose == 1 ): |