Skip to content

Commit d047a05

Browse files
committed
explicitly raise NotImplementedError for stuff that still is incomplete
1 parent 2f647ad commit d047a05

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

launchd/launchctl.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,17 +117,21 @@ def jobs():
117117
yield job
118118

119119

120-
def start():
121-
pass
120+
def start(*args):
121+
raise NotImplementedError()
122+
return launchctl("start", *args)
122123

123124

124-
def stop():
125-
pass
125+
def stop(*args):
126+
raise NotImplementedError()
127+
return launchctl("stop", *args)
126128

127129

128130
def load(*args):
131+
raise NotImplementedError()
129132
return launchctl("load", *args)
130133

131134

132135
def unload(*args):
136+
raise NotImplementedError()
133137
return launchctl("unload", *args)

0 commit comments

Comments
 (0)