Skip to content

Commit 1746a29

Browse files
committed
Changing parameter name from retype_password to reenter_pasword
1 parent d241260 commit 1746a29

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

astroquery/alma/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def _parse_result(self, response, verbose=False):
396396
return table
397397

398398
def _login(self, username=None, store_password=False,
399-
retype_password=False):
399+
reenter_password=False):
400400
"""
401401
Login to the ALMA Science Portal.
402402
@@ -407,7 +407,7 @@ def _login(self, username=None, store_password=False,
407407
specified in the config file.
408408
store_password : bool, optional
409409
Stores the password securely in your keyring. Default is False.
410-
retype_password : bool, optional
410+
reenter_password : bool, optional
411411
Asks for the password even if it is already stored in the
412412
keyring. This is the way to overwrite an already stored passwork
413413
on the keyring. Default is False.
@@ -429,7 +429,7 @@ def _login(self, username=None, store_password=False,
429429
return True
430430

431431
# Get password from keyring or prompt
432-
if retype_password is False:
432+
if reenter_password is False:
433433
password_from_keyring = keyring.get_password(
434434
"astroquery:asa.alma.cl", username)
435435
else:

astroquery/cosmosim/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def __init__(self):
4242
super(CosmoSimClass, self).__init__()
4343

4444
def _login(self, username=None, password=None, store_password=False,
45-
retype_password=False):
45+
reenter_password=False):
4646
"""
4747
Login to the CosmoSim database.
4848
@@ -53,7 +53,7 @@ def _login(self, username=None, password=None, store_password=False,
5353
specified in the config file.
5454
store_password : bool, optional
5555
Stores the password securely in your keyring. Default is False.
56-
retype_password : bool, optional
56+
reenter_password : bool, optional
5757
Asks for the password even if it is already stored in the
5858
keyring. This is the way to overwrite an already stored passwork
5959
on the keyring. Default is False.
@@ -79,7 +79,7 @@ def _login(self, username=None, password=None, store_password=False,
7979
self.username = username
8080

8181
# Get password from keyring or prompt
82-
if retype_password is False:
82+
if reenter_password is False:
8383
password_from_keyring = keyring.get_password(
8484
"astroquery:www.cosmosim.org", self.username)
8585
else:

astroquery/eso/core.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def _activate_form(self, response, form_index=0, inputs={}, cache=True,
171171
return response
172172

173173
def _login(self, username=None, store_password=False,
174-
retype_password=False):
174+
reenter_password=False):
175175
"""
176176
Login to the ESO User Portal.
177177
@@ -182,7 +182,7 @@ def _login(self, username=None, store_password=False,
182182
specified in the config file.
183183
store_password : bool, optional
184184
Stores the password securely in your keyring. Default is False.
185-
retype_password : bool, optional
185+
reenter_password : bool, optional
186186
Asks for the password even if it is already stored in the
187187
keyring. This is the way to overwrite an already stored passwork
188188
on the keyring. Default is False.
@@ -195,7 +195,7 @@ def _login(self, username=None, store_password=False,
195195
username = self.USERNAME
196196

197197
# Get password from keyring or prompt
198-
if retype_password is False:
198+
if reenter_password is False:
199199
password_from_keyring = keyring.get_password(
200200
"astroquery:www.eso.org", username)
201201
else:
@@ -318,7 +318,7 @@ def query_surveys(self, surveys='', cache=True,
318318
query_dict["max_rows_returned"] = self.ROW_LIMIT
319319
else:
320320
query_dict["max_rows_returned"] = 10000
321-
321+
322322
survey_response = self._activate_form(survey_form, form_index=0,
323323
inputs=query_dict, cache=cache)
324324

0 commit comments

Comments
 (0)