Commit 9a54b9c92cb62e8186831e7b1d8d2f06802671f7

Authored by Christian Herdtweck
1 parent abf8aeeb

pylint-ify 4b: pseudo-use last unused variable (called unused)

Showing 1 changed file with 1 additions and 0 deletions
oletools/olevba.py
@@ -1545,6 +1545,7 @@ def _extract_vba(ole, vba_root, project_path, dir_path): @@ -1545,6 +1545,7 @@ def _extract_vba(ole, vba_root, project_path, dir_path):
1545 log.debug('extracted file {0}'.format(filename)) 1545 log.debug('extracted file {0}'.format(filename))
1546 else: 1546 else:
1547 log.warning("module stream {0} has code data length 0".format(modulestreamname_streamname)) 1547 log.warning("module stream {0} has code data length 0".format(modulestreamname_streamname))
  1548 + _ = unused
1548 return 1549 return
1549 1550
1550 1551