Skip to content

Commit 3c5074a

Browse files
*: use absolute importing for py2
1 parent 4b4ba95 commit 3c5074a

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

Evtx/BinaryParser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
# limitations under the License.
1818
#
1919
# Version v.0.3.0
20+
from __future__ import absolute_import
2021

21-
import sys
2222
import struct
2323
from datetime import datetime
2424
from functools import partial

Evtx/Evtx.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
# limitations under the License.
1818
#
1919
# Version v.0.3.0
20+
from __future__ import absolute_import
21+
2022
import re
2123
import binascii
2224
import mmap

Evtx/Nodes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
18+
from __future__ import absolute_import
19+
1820
import re
1921
import base64
2022
import itertools

Evtx/Views.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
18+
from __future__ import absolute_import
19+
1820
import re
1921
import xml.sax.saxutils
2022

0 commit comments

Comments
 (0)