Skip to content
This repository has been archived by the owner on Nov 17, 2018. It is now read-only.

Commit

Permalink
Replacing dict comprehensions for python 2.6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Sapphire64 committed May 6, 2013
1 parent 449221f commit 6ba228e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcelery/connection.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def connect(self, url, options=None, callback=None):
port = purl.port port = purl.port


options = options or {} 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, options.update(host=host, port=port, virtual_host=virtual_host,
credentials=credentials) credentials=credentials)


Expand Down

0 comments on commit 6ba228e

Please sign in to comment.