Skip to content

Commit 372029a

Browse files
committed
Some cosmetic changes
1 parent aff9cfc commit 372029a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

pcodedmp/pcodedmp.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,16 @@
66
import os
77
import sys
88
import argparse
9-
import platform
109
import itertools
11-
from struct import unpack_from
12-
from oletools.olevba import VBA_Parser, decompress_stream
13-
from oletools.common import codepages
1410

1511
try:
1612
import win_unicode_console
1713
WIN_UNICODE_CONSOLE = True
1814
except ImportError:
1915
WIN_UNICODE_CONSOLE = False
16+
from struct import unpack_from
17+
from oletools.olevba import VBA_Parser, decompress_stream
18+
from oletools.common import codepages
2019

2120
PYTHON2 = sys.version_info[0] < 3
2221
codec = 'latin1' # Assume 'latin1' unless redefined by the 'dir' stream

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def read_md(f): return open(f, 'r').read()
4747
]
4848
INSTALL_REQUIRES = [
4949
'oletools>=0.54',
50-
'win_unicode_console; platform_system == "Windows" and platform_python_implementation != "PyPy"',
50+
'win_unicode_console; platform_system=="Windows" and platform_python_implementation!="PyPy"',
5151
]
5252

5353
###################################################################

0 commit comments

Comments
 (0)