Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion azure-devops/azext_devops/dev/common/_credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def normalize_url_for_key(url):
components = uri_parse(url)
normalized_url = components.scheme.lower() + '://' + components.netloc.lower()
organization_name = components.path.lower()
if(organization_name and ('visualstudio.com' not in url.lower())):
if (organization_name and ('visualstudio.com' not in url.lower())):
organization_name = organization_name.split('/')[1]
normalized_url = normalized_url + '/' + organization_name
return normalized_url
Expand Down
2 changes: 1 addition & 1 deletion azure-devops/azext_devops/dev/common/credential_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def clear_password(self, key):
file_token = self.get_PAT_from_file(key)
if file_token:
self.delete_PAT_from_file(key)
if(keyring_token is None and file_token is None):
if (keyring_token is None and file_token is None):
raise CLIError(self._CRDENTIAL_NOT_FOUND_MSG)
else:
try:
Expand Down
2 changes: 1 addition & 1 deletion azure-devops/azext_devops/dev/team/invoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def invoke(area=None, resource=None,

resource_areas = connection._get_resource_areas(force=True)

if(not area and not resource):
if (not area and not resource):
print('Please wait a couple of seconds while we fetch all required information.')
service_list = []

Expand Down