Skip to content

Commit cd879d9

Browse files
committed
pylint changes
1 parent 0d08c1e commit cd879d9

File tree

1 file changed

+3
-3
lines changed
  • hubblestack/extmods/fileserver

1 file changed

+3
-3
lines changed

hubblestack/extmods/fileserver/s3fs.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def file_list(load):
283283
return ret
284284

285285

286-
def file_list_emptydirs(load):
286+
def file_list_emptydirs(load): # pylint: disable=unused-argument ; just a todo
287287
"""
288288
Return a list of all empty directories on the master
289289
"""
@@ -569,9 +569,9 @@ def _read_buckets_cache_file(cache_file):
569569
try:
570570
data = pickle.load(fp_)
571571
except (pickle.UnpicklingError, AttributeError, EOFError, ImportError,
572-
IndexError, KeyError) as e:
572+
IndexError, KeyError) as eobj:
573573
log.info('error unpickling buckets cache file (%s): %s',
574-
cache_file, repr(e))
574+
cache_file, repr(eobj))
575575
data = None
576576

577577
return data

0 commit comments

Comments
 (0)