Skip to content

Commit

Permalink
spaces corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
sahehb authored Aug 2, 2024
1 parent 3cbb835 commit dc33c55
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ def registerForNotification():
def csoFinished(_arg):
csoList = _getCSOList()
for cso in csoList.getCSOs():
cso.removeFromAllGroups()
csoArea = cso.getArea()
csoGroup = csoList.getGroupByLabel("large")
if csoArea <= _getAreaThreshold():
csoGroup = csoList.getGroupByLabel("small")
csoGroup.addCSO(cso.getId())
cso.removeFromAllGroups()
csoArea = cso.getArea()
csoGroup = csoList.getGroupByLabel("large")
if csoArea <= _getAreaThreshold():
csoGroup = csoList.getGroupByLabel("small")
csoGroup.addCSO(cso.getId())

def _getAreaThreshold():
return ctx.field("areaThreshold").value
Expand Down Expand Up @@ -165,12 +165,12 @@ def registerForNotification():
def csoFinished(_arg):
csoList = _getCSOList()
for cso in csoList.getCSOs():
cso.removeFromAllGroups()
csoArea = cso.getArea()
csoGroup = csoList.getGroupByLabel("large")
if csoArea <= _getAreaThreshold():
csoGroup = csoList.getGroupByLabel("small")
csoGroup.addCSO(cso.getId())
cso.removeFromAllGroups()
csoArea = cso.getArea()
csoGroup = csoList.getGroupByLabel("large")
if csoArea <= _getAreaThreshold():
csoGroup = csoList.getGroupByLabel("small")
csoGroup.addCSO(cso.getId())

def _getAreaThreshold():
return ctx.field("areaThreshold").value
Expand Down

0 comments on commit dc33c55

Please sign in to comment.