fixing more code issues

This commit is contained in:
Shay Palachy
2019-09-07 12:35:19 +03:00
parent ce6c2f57ee
commit c3d2da9e32
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -8,7 +8,8 @@
import abc # for the _BaseCore abstract base class
class _BaseCore(object):
class _BaseCore():
__metaclass__ = abc.ABCMeta
def __init__(self, stale_after, next_time):
+2 -2
View File
@@ -238,7 +238,7 @@ def _calls_bad_cache(res_queue, trash_cache):
cache_file.seek(0)
cache_file.truncate()
res_queue.put(res)
except Exception as exc:
except Exception as exc: # skipcq: PYL-W0703
res_queue.put(exc)
@@ -301,7 +301,7 @@ def _calls_delete_cache(res_queue, del_cache):
os.remove(_DEL_CACHE_FPATH)
# print(os.path.isfile(_DEL_CACHE_FPATH))
res_queue.put(res)
except Exception as exc:
except Exception as exc: # skipcq: PYL-W0703
# print('found')
res_queue.put(exc)