Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common: make get_redis_connection to accept dict(opts)
The check like: if hasattr(opts, "redis_port"): kwargs["port"] = opts.redis_port Can not work with dict() objects. The hasattr() actually doesn't work this way. See: praiskup/resalloc#154
- Loading branch information