Trim lines ending with superfluous whitespace

This commit is contained in:
luzpaz
2024-12-22 12:57:15 +00:00
committed by Chris Hennes
parent b0a29fde31
commit 2902ea4995
28 changed files with 48 additions and 48 deletions

View File

@@ -315,7 +315,7 @@ class Component(ArchIFC.IfcProduct):
prop: string
The name of the property that has changed.
"""
import math
ArchIFC.IfcProduct.onChanged(self, obj, prop)

View File

@@ -337,7 +337,7 @@ class _Wall(ArchComponent.Component):
if hasattr(baseProxy,"getPropertySet"):
# get full list of PropertySet
propSetListCur = baseProxy.getPropertySet(obj.Base)
# get updated name (if any) of the selected PropertySet
# get updated name (if any) of the selected PropertySet
propSetSelectedNameCur = baseProxy.getPropertySet(obj.Base,
propSetUuid=propSetPickedUuidPrev)
if propSetSelectedNameCur: # True if selection is not deleted
@@ -613,11 +613,11 @@ class _Wall(ArchComponent.Component):
else:
FreeCAD.Console.PrintError(translate("Arch","Error: Unable to modify the base object of this wall")+"\n")
if (prop == "ArchSketchPropertySet"
if (prop == "ArchSketchPropertySet"
and Draft.getType(obj.Base) == "ArchSketch"):
baseProxy = obj.Base.Proxy
if hasattr(baseProxy,"getPropertySet"):
uuid = baseProxy.getPropertySet(obj,
uuid = baseProxy.getPropertySet(obj,
propSetName=obj.ArchSketchPropertySet)
self.ArchSkPropSetPickedUuid = uuid
if (hasattr(obj,"ArchSketchData") and obj.ArchSketchData

View File

@@ -37,7 +37,7 @@
<item>
<widget class="QCheckBox" name="checkAskAgain">
<property name="toolTip">
<string>If this is checked, you won't be asked again when creating a new FreeCAD document,
<string>If this is checked, you won't be asked again when creating a new FreeCAD document,
and that document won't be turned into an IFC document automatically.
You can still turn a FreeCAD document into an IFC document manually, using
Utils -&gt; Make IFC project</string>

View File

@@ -793,7 +793,7 @@ class ArchTest(unittest.TestCase):
level = Arch.makeFloor()
level.addObjects([wall, column])
App.ActiveDocument.recompute()
# Create a drawing view
section = Arch.makeSectionPlane(level)
drawing = Arch.make2DDrawing()
@@ -803,7 +803,7 @@ class ArchTest(unittest.TestCase):
cut.ProjectionMode = "Cutfaces"
drawing.addObjects([view, cut])
App.ActiveDocument.recompute()
# Create a TD page
tpath = os.path.join(App.getResourceDir(),"Mod","TechDraw","Templates","A3_Landscape_blank.svg")
page = App.ActiveDocument.addObject("TechDraw::DrawPage", "Page")