Skip to content

Commit

Permalink
:update: use relative imports
Browse files Browse the repository at this point in the history
  • Loading branch information
b3j0f committed Sep 30, 2015
1 parent 5026973 commit 91162ae
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion b3j0f/utils/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

from random import random

from b3j0f.utils.version import PY26
from .version import PY26

__all__ = ['clearcache', 'incache', 'lookup', 'getpath']

Expand Down
6 changes: 3 additions & 3 deletions b3j0f/utils/property.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@
'find_ctx', 'addproperties'
]

from b3j0f.utils.version import PY2
from b3j0f.utils.iterable import ensureiterable
from .version import PY2
from .iterable import ensureiterable

from inspect import ismethod

from collections import Hashable

from types import FunctionType, MethodType
from types import MethodType

try:
from threading import Timer
Expand Down
4 changes: 2 additions & 2 deletions b3j0f/utils/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
getmembers, isroutine, ismethod, getargspec, getfile, isbuiltin, isclass
)

from b3j0f.utils.version import PY2, PY3, basestring
from b3j0f.utils.path import lookup
from .version import PY2, PY3, basestring
from .path import lookup

# consts for interception loading
LOAD_GLOBAL = opmap['LOAD_GLOBAL']
Expand Down
4 changes: 2 additions & 2 deletions b3j0f/utils/reflect.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"""Python reflection tools.
"""

from b3j0f.utils.version import PY2, range
from b3j0f.utils.iterable import ensureiterable
from .version import PY2, range
from .iterable import ensureiterable

from inspect import isclass, isroutine, ismethod, getmodule

Expand Down
2 changes: 1 addition & 1 deletion b3j0f/utils/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
except ImportError:
import builtins as __builtin__

from b3j0f.utils.version import PY3
from .version import PY3

__all__ = ['bind_all', 'make_constants']

Expand Down
2 changes: 1 addition & 1 deletion b3j0f/utils/ut.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

from unittest import TestCase

from b3j0f.utils.version import PY2, PY26
from .version import PY2, PY26

from re import match

Expand Down

0 comments on commit 91162ae

Please sign in to comment.