Skip to content

Commit 52f1b89

Browse files
committed
pep8
1 parent 00c2385 commit 52f1b89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

astroquery/mast/observations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ def get_cloud_uris(self, data_products, include_bucket=True, full_url=False):
752752
if data_products includes products not found in the cloud.
753753
"""
754754

755-
if self._cloud_connection == None:
755+
if self._cloud_connection is None:
756756
raise RemoteServiceError('Please enable anonymous cloud access by calling `enable_cloud_dataset` method. See MAST Labs documentation for an example: https://mast-labs.stsci.io/#example-data-access-with-astroquery-observations')
757757

758758
return self._cloud_connection.get_cloud_uri_list(data_products, include_bucket, full_url)
@@ -783,7 +783,7 @@ def get_cloud_uri(self, data_product, include_bucket=True, full_url=False):
783783
found in the cloud, None is returned.
784784
"""
785785

786-
if self._cloud_connection == None:
786+
if self._cloud_connection is None:
787787
raise RemoteServiceError('Please enable anonymous cloud access by calling `enable_cloud_dataset` method. See MAST Labs documentation for an example: https://mast-labs.stsci.io/#example-data-access-with-astroquery-observations')
788788

789789
# Query for product URIs

0 commit comments

Comments
 (0)