mirror of
https://github.com/niess/python-appimage.git
synced 2026-03-14 12:20:14 +01:00
Patch some mistakes (according to flake8)
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user