Skip to content

Commit 9819499

Browse files
committed
remove six import in __init__
This fixes installation on pip 10 in environments that don't already have six installed.
1 parent a799c5e commit 9819499

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cassandra/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# limitations under the License.
1414

1515
import logging
16-
import six
1716

1817

1918
class NullHandler(logging.Handler):
@@ -280,7 +279,7 @@ class WriteType(object):
280279
}
281280

282281

283-
WriteType.value_to_name = {v: k for k, v in six.iteritems(WriteType.name_to_value)}
282+
WriteType.value_to_name = {v: k for k, v in WriteType.name_to_value.items()}
284283

285284

286285
class SchemaChangeType(object):

0 commit comments

Comments
 (0)