Code clarity fixes
autopep8 -ir -j2 --select=E303,E125 Diff checked manually.
This commit is contained in:
parent
dcb2b61b18
commit
c21d1f7925
37 changed files with 6 additions and 59 deletions
|
|
@ -639,7 +639,6 @@ class Repositories(object):
|
|||
except BrowserUnavailable, e:
|
||||
raise ModuleInstallError('Unable to fetch module: %s' % e)
|
||||
|
||||
|
||||
# Check signature
|
||||
if module.signed and Keyring.find_gpgv():
|
||||
progress.progress(0.5, 'Checking module authenticity...')
|
||||
|
|
@ -651,7 +650,6 @@ class Repositories(object):
|
|||
if not keyring.is_valid(tardata, sig_data):
|
||||
raise ModuleInstallError('Invalid signature for %s.' % module.name)
|
||||
|
||||
|
||||
# Extract module from tarball.
|
||||
if os.path.isdir(module_dir):
|
||||
shutil.rmtree(module_dir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue