Skip to content

Commit 00f7ee5

Browse files
author
Zoia
committed
python 2/3 compatibility #3
1 parent 0fdc997 commit 00f7ee5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+28
-6
lines changed

JDI/__init__.py

Whitespace-only changes.

JDI/core/__init__.py

Whitespace-only changes.

JDI/core/interfaces/__init__.py

Whitespace-only changes.

JDI/core/logger/__init__.py

Whitespace-only changes.

JDI/core/logger/jdi_logger.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
from __future__ import with_statement
12
import json
23
import logging
34
import logging.config
45

56
from JDI.core.settings.jdi_settings import PropertyPath
7+
from io import open
68

79

810
class JDILogger(object):

JDI/core/settings/__init__.py

Whitespace-only changes.

JDI/core/settings/jdi_settings.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1+
from __future__ import print_function
2+
13
from JDI.jdi_assert.base.base_matcher import BaseMatcher
24
import os
35

6+
try:
7+
FileNotFoundError
8+
except NameError:
9+
FileNotFoundError = IOError
10+
411

512
class PropertyPath:
613
def get_property_file(self, file_name_init="jdi.properties"):

JDI/core/utils/__init__.py

Whitespace-only changes.

JDI/jdi_assert/__init__.py

Whitespace-only changes.

JDI/jdi_assert/base/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)