Specify full package and module on imports
This commit is contained in:
@@ -18,7 +18,7 @@ from collections import namedtuple
|
||||
try:
|
||||
from collections import OrderedDict
|
||||
except ImportError: # Python <2.7
|
||||
from util import OrderedDict
|
||||
from cassandra.util import OrderedDict
|
||||
|
||||
import datetime
|
||||
import logging
|
||||
|
||||
@@ -3,7 +3,7 @@ from collections import defaultdict
|
||||
try:
|
||||
from collections import OrderedDict
|
||||
except ImportError: # Python <2.7
|
||||
from util import OrderedDict
|
||||
from cassandra.util import OrderedDict
|
||||
from hashlib import md5
|
||||
import json
|
||||
import logging
|
||||
|
||||
Reference in New Issue
Block a user