mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Fix lint warning for unnecessary else block.
This commit is contained in:
parent
4d20284f85
commit
4cf2b860ef
1 changed files with 1 additions and 2 deletions
|
|
@ -29,7 +29,6 @@ def run_as_root(*args, **kwargs):
|
|||
"""A helper for run that invokes sudo when unprivileged"""
|
||||
if os.geteuid() != 0:
|
||||
return run("sudo", *args, **kwargs)
|
||||
else:
|
||||
return run(*args, **kwargs)
|
||||
|
||||
def create_disk(image, disk_type, fs_type, size):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue