Commit 29fe911151c810f2d6db59a064fd616d92a7c50a

Authored by Christian Herdtweck
1 parent 3b7a4ea8

Fix: Update silencing of wrong pylint warnings

Introduced an error when silencing pylint warnings. This should fix it.
Showing 1 changed file with 1 additions and 1 deletions
oletools/ppt_parser.py
@@ -1589,7 +1589,7 @@ class PptParser(object): @@ -1589,7 +1589,7 @@ class PptParser(object):
1589 1589
1590 n_infos = 0 1590 n_infos = 0
1591 n_macros = 0 1591 n_macros = 0
1592 - for info in self.search_vba_info(stream): 1592 + for info in self.search_vba_info(): # pylint: disable=no-value-for-parameter
1593 n_infos += 1 1593 n_infos += 1
1594 if info.vba_info_atom.f_has_macros > 0: 1594 if info.vba_info_atom.f_has_macros > 0:
1595 n_macros += 1 1595 n_macros += 1