1
0
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:
Konstantinos Tsakalozos
2021-04-27 23:20:14 +03:00
committed by GitHub
parent fb87a1a8fb
commit 3d8210f98a
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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)