Remove superfluous whitespaces at the end of lines

This commit is contained in:
Christoph Heiss 2017-03-22 19:38:49 +01:00
parent 526695e209
commit e3f6d56d02
3 changed files with 76 additions and 77 deletions

View file

@ -15,11 +15,11 @@ class HostnameNotChangedError(PermissionError):
class NotSupportedOnPlatform(OSError):
def __init__(self):
super(OSError, self).__init__("feature not avaliable on OS")
super(OSError, self).__init__("feature not avaliable on OS")
class PlaybackFailure(OSError):
def __init__(self):
super(OSError, self).__init__("audio playback failed")
super(OSError, self).__init__("audio playback failed")
def capture_trace():
@ -40,7 +40,7 @@ def is_darwin():
def is_windows():
return platform.uname().system == "Windows"
return platform.uname().system == "Windows"
def set_hostname(hostname):
@ -95,4 +95,4 @@ def play_sound(path):
except subprocess.CalledProcessError as e:
raise PlaybackFailure()
else:
raise NotSupportedOnPlatform()
raise NotSupportedOnPlatform()