Permalink
Browse files

Replacing dict comprehensions for python 2.6 support

  • Loading branch information...
1 parent 449221f commit 6ba228ee20e47bf9e80f837e482be7d5161ed7f6 @Sapphire64 Sapphire64 committed May 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 tcelery/connection.py
View
@@ -25,7 +25,7 @@ def connect(self, url, options=None, callback=None):
port = purl.port
options = options or {}
- options = {k.lstrip('DEFAULT_').lower(): v for k, v in options.items()}
+ options = dict([(k.lstrip('DEFAULT_').lower(), v) for k, v in options.items()])
options.update(host=host, port=port, virtual_host=virtual_host,
credentials=credentials)

0 comments on commit 6ba228e

Please sign in to comment.