Skip to content

Commit eb6b472

Browse files
committed
Ignore swapfiles, revoke walrus and todo
1 parent 5bbbe79 commit eb6b472

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
build.sh
22
.DS_Store
33
*.pyc
4+
.*.swp
45
__pycache__
56
/dist/
67
/*.egg-info

plugwise/.helper.py.swp

-16 KB
Binary file not shown.

plugwise/helper.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,6 @@ def _get_module_data(self, appliance, locator, mod_type):
443443
if appl_search is not None:
444444
link_id = appl_search.attrib["id"]
445445
locator = f".//{mod_type}[@id='{link_id}']...."
446-
# TODO: 20220125 investigate why walrus doesn't play with pylint (module.find = no-member) on
447-
# if (module := self._modules.find(locator)) is not None:
448446
module = self._modules.find(locator)
449447
if module is not None:
450448
v_name = module.find("vendor_name").text

0 commit comments

Comments
 (0)