summaryrefslogtreecommitdiff
path: root/redis/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* encoding testsandy2013-06-061-2/+8
|
* Format code per pep8 guidelinesPaul Belanger2013-03-301-0/+1
| | | | | | A simple patch to enable pep8 in tox and format our code properly. Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
* Merge remote-tracking branch 'jparise/cls-from_url'andy2012-08-141-24/+2
|\ | | | | | | | | | | Conflicts: redis/client.py redis/utils.py
| * Improved `from_url()` support.Jon Parise2012-07-061-24/+2
| | | | | | | | | | | | | | | | | | | | | | | | `from_url()` is now implemented as a classmethod. The previous implementation always returned instances of the `Redis` class. This new approach lets us construct StrictRedis instances (or any other class derived from StrictRedis, including Redis). `utils.from_url()` has been preserved for backwards compatibility. Also, both versions of `from_url()` now pass along any additional keyword arguments to the class's initializer.
* | Fixed Python 3.2+ compatibilityAlex Grönholm2012-08-071-3/+2
| |
* | Cleaned up code for PEP 8 complianceAlex Grönholm2012-08-061-1/+2
|/
* assert url.schemeKenneth Reitz2012-05-181-1/+5
|
* redis.from_urlKenneth Reitz2012-05-181-0/+27