mirror of
https://github.com/clearlinux/python-swupd.git
synced 2026-11-22 03:13:35 +00:00
Ensure the codebase is now PEP8 compliant
This change also fixed a broken shebang Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
#/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
import subprocess
|
import subprocess
|
||||||
import urllib2
|
import urllib2
|
||||||
import os
|
import os
|
||||||
@@ -48,7 +48,7 @@ def install_bundles(bundle_list, F=None, url=None):
|
|||||||
err = ""
|
err = ""
|
||||||
exit_status = 1
|
exit_status = 1
|
||||||
else:
|
else:
|
||||||
cmd = ['sudo','swupd','bundle-add']
|
cmd = ['sudo', 'swupd', 'bundle-add']
|
||||||
if bundle in bundle_universe:
|
if bundle in bundle_universe:
|
||||||
cmd += [bundle]
|
cmd += [bundle]
|
||||||
if F is not None:
|
if F is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user