Skip to content

Commit 680d1e4

Browse files
committed
pep8
1 parent 1ef7a38 commit 680d1e4

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
@@ -201,7 +201,6 @@ def __init__(self):
201201
self._cache_active = conf.use_cache
202202
self.cache_timeout = conf.default_cache_timeout
203203

204-
205204
def __call__(self, *args, **kwargs):
206205
""" init a fresh copy of self """
207206
return self.__class__(*args, **kwargs)
@@ -239,7 +238,7 @@ def _response_hook(self, response, *args, **kwargs):
239238
f"{response.text}\n"
240239
f"-----------------------------------------", '\t')
241240
log.log(5, f"HTTP response\n{response_log}")
242-
241+
243242
def clear_cache(self):
244243
"""Removes all cache files."""
245244

0 commit comments

Comments
 (0)