File pythoncad-python26changes.patch of Package pythoncad
Index: PythonCAD/Generic/layer.py
===================================================================
--- PythonCAD/Generic/layer.py.orig
+++ PythonCAD/Generic/layer.py
@@ -474,15 +474,15 @@ This method is private to the Layer.
raise TypeError, "Unexpected type: " + `type(obj)`
return (_split, _objs)
- def setAutosplit(self, as):
+ def setAutosplit(self, autosplit):
"""Set the autosplit state of the Layer.
-setAutosplit(as)
+setAutosplit(autosplit)
-Argument 'as' must be a Boolean.
+Argument 'autosplit' must be a Boolean.
"""
- util.test_boolean(as)
- self.__asplit = as
+ util.test_boolean(autosplit)
+ self.__asplit = autosplit
def getAutosplit(self):
"""Retrieve the autosplit state of the Layer.