Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No support for authorization (password) #2

Open
andrew-azarov opened this issue Jan 14, 2011 · 1 comment
Open

No support for authorization (password) #2

andrew-azarov opened this issue Jan 14, 2011 · 1 comment

Comments

@andrew-azarov
Copy link

Need the module to handle the password authorization to redis.

@andrew-azarov
Copy link
Author

Here's a simple fix to this issue:

def __init__(self, host=None, port=None, db=None, 
        serializer=None,password=""):             
    self.host = host or self.host                 
    self.port = port or self.port                 
    self.serializer = serializer or self.serializer
    self.db = db or self.db
    self.api = _RedisClient(self.host, self.port, self.db, password)  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant