flake8
This commit is contained in:
@@ -27,7 +27,7 @@ class CommandFits(ContextMenu):
|
||||
if not isinstance(ids, set):
|
||||
ids = set([ids])
|
||||
|
||||
if evt is None or not ids.isdisjoint(cls.commandTypeIDs):
|
||||
if evt is None or not ids.isdisjoint(cls.commandTypeIDs):
|
||||
# we are adding or removing an item that defines a command fit. Need to refresh fit list
|
||||
sFit = Fit.getInstance()
|
||||
cls.commandFits = sFit.getFitsWithModules(cls.commandTypeIDs)
|
||||
|
||||
@@ -553,7 +553,7 @@ class Fit(object):
|
||||
for x in positions:
|
||||
if not fit.modules[x].isEmpty:
|
||||
fit.modules.toDummy(x)
|
||||
modulesChanged=True
|
||||
modulesChanged = True
|
||||
|
||||
# if no modules have changes, report back None
|
||||
if not modulesChanged:
|
||||
|
||||
Reference in New Issue
Block a user