Skip to content

Commit

Permalink
Fixed missing parameter. GitHub #391
Browse files Browse the repository at this point in the history
  • Loading branch information
EdLeafe committed Jun 6, 2014
1 parent 2307b5f commit 0073966
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyrax/base_identity.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import json
import re
import requests
import warnings

try:
import keyring
Expand Down Expand Up @@ -572,7 +573,7 @@ def _call(self, mthd, uri, admin, data, headers, std_headers):


def authenticate(self, username=None, password=None, api_key=None,
tenant_id=None):
tenant_id=None, connect=False):
"""
Using the supplied credentials, connects to the specified
authentication endpoint and attempts to log in.
Expand All @@ -581,6 +582,9 @@ def authenticate(self, username=None, password=None, api_key=None,
previously-stored credentials can be used. If authentication is
successful, the token and service catalog information is stored, and
clients for each service and region are created.
The 'connect' parameter is retained for backwards compatibility. It no
longer has any effect.
"""
self.username = username or self.username or pyrax.get_setting(
"username")
Expand Down

0 comments on commit 0073966

Please sign in to comment.