diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2014-04-21 12:59:28 -0700 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2014-04-21 12:59:28 -0700 |
commit | 55107b121cd1eaa239a84979e44e28c14c0caee4 (patch) | |
tree | 5c5c25665329b8118a44e3d427971543b5c8714c /redis/connection.py | |
parent | ca9f228da156df41d8c833a01da8551848629ee4 (diff) | |
download | redis-py-55107b121cd1eaa239a84979e44e28c14c0caee4.tar.gz |
nicer upgrade message
Diffstat (limited to 'redis/connection.py')
-rw-r--r-- | redis/connection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redis/connection.py b/redis/connection.py index 92a5c16..08f25bc 100644 --- a/redis/connection.py +++ b/redis/connection.py @@ -30,8 +30,8 @@ if HIREDIS_AVAILABLE: hiredis_version >= StrictVersion('0.1.3') if not HIREDIS_SUPPORTS_CALLABLE_ERRORS: - msg = ('redis-py works best with hiredis >= 0.1.3. Your hiredis ' - 'is %s. Please consider upgrading.' % hiredis.__version__) + msg = ("redis-py works best with hiredis >= 0.1.3. You're running " + "hiredis %s. Please consider upgrading." % hiredis.__version__) warnings.warn(msg) SYM_STAR = b('*') |