From 2dd314cdfd5a0a4d876dd57e33ae364cace75b35 Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Thu, 28 Apr 2016 12:24:09 +0200 Subject: [PATCH] pylint-ify 1: limit imports --- oletools/olevba.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/oletools/olevba.py b/oletools/olevba.py index c99bb13..dc9ac04 100755 --- a/oletools/olevba.py +++ b/oletools/olevba.py @@ -211,7 +211,6 @@ import math import zipfile import re import optparse -import os.path import binascii import base64 import zlib @@ -239,7 +238,11 @@ except ImportError: import thirdparty.olefile as olefile from thirdparty.prettytable import prettytable from thirdparty.xglob import xglob, PathNotFoundException -from thirdparty.pyparsing.pyparsing import * +from thirdparty.pyparsing.pyparsing import \ + CaselessKeyword, CaselessLiteral, Combine, Forward, Literal, \ + Optional, QuotedString,Regex, Suppress, Word, WordStart, \ + alphanums, alphas, hexnums,nums, opAssoc, srange, \ + infixNotation # monkeypatch email to fix issue #32: # allow header lines without ":" -- libgit2 0.21.4