Commit 2dd314cdfd5a0a4d876dd57e33ae364cace75b35

Authored by Christian Herdtweck
1 parent 0d0d7853

pylint-ify 1: limit imports

Showing 1 changed file with 5 additions and 2 deletions
oletools/olevba.py
@@ -211,7 +211,6 @@ import math @@ -211,7 +211,6 @@ import math
211 import zipfile 211 import zipfile
212 import re 212 import re
213 import optparse 213 import optparse
214 -import os.path  
215 import binascii 214 import binascii
216 import base64 215 import base64
217 import zlib 216 import zlib
@@ -239,7 +238,11 @@ except ImportError: @@ -239,7 +238,11 @@ except ImportError:
239 import thirdparty.olefile as olefile 238 import thirdparty.olefile as olefile
240 from thirdparty.prettytable import prettytable 239 from thirdparty.prettytable import prettytable
241 from thirdparty.xglob import xglob, PathNotFoundException 240 from thirdparty.xglob import xglob, PathNotFoundException
242 -from thirdparty.pyparsing.pyparsing import * 241 +from thirdparty.pyparsing.pyparsing import \
  242 + CaselessKeyword, CaselessLiteral, Combine, Forward, Literal, \
  243 + Optional, QuotedString,Regex, Suppress, Word, WordStart, \
  244 + alphanums, alphas, hexnums,nums, opAssoc, srange, \
  245 + infixNotation
243 246
244 # monkeypatch email to fix issue #32: 247 # monkeypatch email to fix issue #32:
245 # allow header lines without ":" 248 # allow header lines without ":"