Skip to content

Commit

Permalink
Fix LGTM alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
Shlomi Bitton committed Jul 15, 2020
1 parent d33454c commit 28f9625
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions show/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3439,7 +3439,7 @@ def summary():
from system_health_test import MockerChassis
HealthCheckerManager = MockerManager
Chassis = MockerChassis
except:
except Exception:
# Normal run... #
if os.geteuid():
click.echo("Root privileges are required for this operation")
Expand Down Expand Up @@ -3481,7 +3481,7 @@ def detail():
from system_health_test import MockerChassis
HealthCheckerManager = MockerManager
Chassis = MockerChassis
except:
except Exception:
# Normal run... #
if os.geteuid():
click.echo("Root privileges are required for this operation")
Expand Down Expand Up @@ -3553,7 +3553,7 @@ def monitor_list():
from system_health_test import MockerChassis
HealthCheckerManager = MockerManager
Chassis = MockerChassis
except:
except Exception:
# Normal run... #
if os.geteuid():
click.echo("Root privileges are required for this operation")
Expand Down

0 comments on commit 28f9625

Please sign in to comment.