python: Multiple fixes to Python scripts

- Remove unused imports.
- Fix indentation.
- Remove redundant return.
- Remove ; at the end of the lines.
This commit is contained in:
Eduardo Almeida
2023-05-22 01:23:50 +01:00
parent 4023d05b99
commit 39c625c9ef
7 changed files with 96 additions and 106 deletions

View File

@@ -33,7 +33,6 @@ def dump_pickles(out, dirname, filename, path):
next_path = os.path.normpath(os.path.join(path, data['next']['link']))
next_filename = os.path.basename(next_path) + '.fpickle'
dump_pickles(out, dirname, next_filename, next_path)
return
import sys