Patch some mistakes (according to flake8)

This commit is contained in:
Valentin Niess
2025-05-20 23:27:20 +02:00
parent 331fc6ab7f
commit 60aec8ba25
13 changed files with 28 additions and 53 deletions

View File

@@ -41,7 +41,6 @@ def ensure_appimagetool(dry=False):
appimagetool_name = 'appimagetool'
else:
appimagetool_name = 'appimagetool-' + APPIMAGETOOL_VERSION
appimagetool = os.path.join(APPIMAGETOOL_DIR, appimagetool_name)
appdir_name = '.'.join(('', appimagetool_name, 'appdir', _ARCH))
appdir = os.path.join(APPIMAGETOOL_DIR, appdir_name)
apprun = os.path.join(appdir, 'AppRun')

View File

@@ -28,7 +28,7 @@ def urlretrieve(url, filename=None):
'''
if filename is None:
filename = os.path.basename(url)
debug('DOWNLOAD', '%s from %s', name, os.path.dirname(url))
debug('DOWNLOAD', '%s from %s', filename, os.path.dirname(url))
else:
debug('DOWNLOAD', '%s as %s', url, filename)