Skip to content

Commit ba8195d

Browse files
committed
Import sys module correctly
Reported-by: Thomas Druez <tdruez@nexb.com> Reference: #23 Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 3451715 commit ba8195d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/typecode/magic2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
import ctypes
3232
import glob
3333
import os
34+
import sys
3435
import warnings
3536

3637
from commoncode import command
@@ -52,7 +53,6 @@ def logger_debug(*args):
5253

5354
if TRACE:
5455
import logging
55-
import sys
5656

5757
logger = logging.getLogger(__name__)
5858
logging.basicConfig(stream=sys.stdout)

0 commit comments

Comments
 (0)