Fixed flake8 errors
This commit is contained in:
parent
84d6217d18
commit
9885270f56
|
|
@ -116,7 +116,7 @@ class Base3DOptions(VariantOptions):
|
||||||
models_l.append(models.pop())
|
models_l.append(models.pop())
|
||||||
# Look for all the 3D models for this footprint
|
# Look for all the 3D models for this footprint
|
||||||
for m3d in models_l:
|
for m3d in models_l:
|
||||||
if m3d.m_Filename.endswith(DISABLE_TEXT):
|
if m3d.m_Filename.endswith(DISABLE_TEXT):
|
||||||
# Skip models we intentionally disabled using a bogus name
|
# Skip models we intentionally disabled using a bogus name
|
||||||
continue
|
continue
|
||||||
full_name = KiConf.expand_env(m3d.m_Filename)
|
full_name = KiConf.expand_env(m3d.m_Filename)
|
||||||
|
|
@ -218,7 +218,6 @@ class Base3DOptions(VariantOptions):
|
||||||
# Push it back to the module
|
# Push it back to the module
|
||||||
models.push_back(m3d)
|
models.push_back(m3d)
|
||||||
|
|
||||||
|
|
||||||
def filter_components(self, dir):
|
def filter_components(self, dir):
|
||||||
self.undo_3d_models_rep = {}
|
self.undo_3d_models_rep = {}
|
||||||
if not self._comps:
|
if not self._comps:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue