Skip to content

Commit e9e9259

Browse files
committed
pep8
1 parent 13f95c7 commit e9e9259

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

astroquery/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@ def _get_bibtex():
5050
log = logging.getLogger()
5151
log = _init_log()
5252

53+
5354
# Set up cache configuration
5455
class Conf(_config.ConfigNamespace):
5556

5657
default_cache_timeout = _config.ConfigItem(
57-
604800 , # 1 week
58+
604800, # 1 week
5859
'Astroquery-wide default cache timeout (seconds).'
5960
)
6061
cache_location = _config.ConfigItem(

astroquery/query.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ def __init__(self):
199199
self._cache_active = conf.use_cache
200200
self.cache_timeout = conf.default_cache_timeout
201201

202-
203202
def __call__(self, *args, **kwargs):
204203
""" init a fresh copy of self """
205204
return self.__class__(*args, **kwargs)
@@ -237,7 +236,7 @@ def _response_hook(self, response, *args, **kwargs):
237236
f"{response.text}\n"
238237
f"-----------------------------------------", '\t')
239238
log.log(5, f"HTTP response\n{response_log}")
240-
239+
241240
def clear_cache(self):
242241
"""Removes all cache files."""
243242

0 commit comments

Comments
 (0)