mirror of
https://github.com/ubuntu/microk8s.git
synced 2021-05-23 02:23:41 +03:00
Style fixes in installer comments (#2208)
This commit is contained in:
committed by
GitHub
parent
fb87a1a8fb
commit
3d8210f98a
@@ -29,7 +29,7 @@ from common.definitions import MAX_CHARACTERS_WRAP
|
||||
class Echo:
|
||||
@staticmethod
|
||||
def is_tty_connected() -> bool:
|
||||
""" Check to see if running under TTY. """
|
||||
"""Check to see if running under TTY."""
|
||||
return sys.stdin.isatty()
|
||||
|
||||
@staticmethod
|
||||
|
||||
@@ -91,7 +91,7 @@ class Snap(Executor):
|
||||
self.run_until_success(cmd)
|
||||
|
||||
def restart(self, snap):
|
||||
""" Restart a snap """
|
||||
"""Restart a snap"""
|
||||
cmd = ["restart", f"{snap}"]
|
||||
|
||||
self.run_until_success(cmd)
|
||||
|
||||
Reference in New Issue
Block a user