Skip to content

Commit

Permalink
more conforming with PEP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
salimane committed Sep 27, 2012
1 parent f6410cc commit 6c62199
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion rediscluster/__init__.py
@@ -1,4 +1,3 @@
from rediscluster.cluster_client import StrictRedisCluster
from redis.exceptions import (
AuthenticationError,
ConnectionError,
Expand All @@ -10,6 +9,8 @@
WatchError,
)

from rediscluster.cluster_client import StrictRedisCluster

__version__ = '0.2.6'
VERSION = tuple(map(int, __version__.split('.')))

Expand Down
3 changes: 2 additions & 1 deletion rediscluster/cluster_client.py
@@ -1,6 +1,7 @@
# -*- coding: UTF-8 -*-
import redis
import binascii

import redis
from redis._compat import (b, iteritems, dictvalues)


Expand Down
1 change: 1 addition & 0 deletions run_tests
@@ -1,6 +1,7 @@
#!/usr/bin/env python

import unittest

from tests import all_tests

if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions tests/__init__.py
@@ -1,4 +1,5 @@
import unittest

from tests.cluster_commands import ClusterCommandsTestCase


Expand Down

0 comments on commit 6c62199

Please sign in to comment.