Skip to content

Commit

Permalink
Merge pull request #57 from padwasabimasala/master
Browse files Browse the repository at this point in the history
Use module directory so util.py exists inside name space
  • Loading branch information
amirziai authored Oct 22, 2019
2 parents 710113c + a55341b commit 2a114b6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flatten_json.py → flatten_json/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
except ImportError:
from collections import Iterable

from util import check_if_numbers_are_consecutive
from flatten_json.util import check_if_numbers_are_consecutive
import six
import copy
import re
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test_flatten.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

from flatten_json import flatten, flatten_preserve_lists, unflatten, \
unflatten_list, cli
from util import check_if_numbers_are_consecutive
from flatten_json.util import check_if_numbers_are_consecutive


class UnitTests(unittest.TestCase):
Expand Down

0 comments on commit 2a114b6

Please sign in to comment.