[PythonCAD] [PATCH] Fix a copy-and-paste error in image.py
Art Haas
ahaas at airmail.net
Tue Oct 24 21:56:41 CEST 2006
Hi.
Found another dumb copy-and-paste error today. Patch below for people
not using Subversion; for those using it just 'svn update' to get
the fix.
Art
Index: PythonCAD/Generic/image.py
===================================================================
--- PythonCAD/Generic/image.py (revision 2628)
+++ PythonCAD/Generic/image.py (working copy)
@@ -1829,7 +1829,7 @@
raise ValueError, "Invalid argument count: %d" % _alen
_units = args[0]
# fixme - maybe add error checking ...
- self.saveUndoData('scale_changed', _units)
+ self.saveUndoData('units_changed', _units)
def __addedChild(self, image, *args):
_alen = len(args)
--
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.
-Thomas Jefferson to James Smith, 1822
More information about the PythonCAD
mailing list