Merge pull request #4983 from chennes/lgtmAddMissingInits

[Arch] Add missing inits
This commit is contained in:
Yorik van Havre
2021-08-19 12:40:10 +02:00
committed by GitHub
3 changed files with 6 additions and 2 deletions

View File

@@ -122,7 +122,8 @@ class FreeCADGuiHandler(xml.sax.ContentHandler):
# plus a GuiCameraSettings key that contains an iv repr of a coin camera
def __init__(self):
super().__init__()
self.guidata = {}
self.current = None
self.properties = {}

View File

@@ -105,7 +105,8 @@ def read(filename):
class SH3DHandler(xml.sax.ContentHandler):
def __init__(self,z):
super().__init__()
self.makeIndividualWalls = False
self.z = z
self.windows = []

View File

@@ -1841,6 +1841,7 @@ class SaxStackElement:
#
class SaxGeneratemodelHandler(handler.ContentHandler):
def __init__(self):
super().__init__()
self.stack = []
self.root = None
@@ -2344,6 +2345,7 @@ def usage():
#
class SaxSelectorHandler(handler.ContentHandler):
def __init__(self):
super().__init__()
self.topElementName = None
def getTopElementName(self):
return self.topElementName