projects
/
mudpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The del and return statements aren't functions
[mudpy.git]
/
mudpy
/
tests
/
selftest.py
diff --git
a/mudpy/tests/selftest.py
b/mudpy/tests/selftest.py
index
c6f3398
..
ede3cb2
100644
(file)
--- a/
mudpy/tests/selftest.py
+++ b/
mudpy/tests/selftest.py
@@
-488,7
+488,7
@@
def start_service(config):
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
time.sleep(1)
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
time.sleep(1)
- return
(service)
+ return
service
def stop_service(service):
def stop_service(service):
@@
-496,7
+496,7
@@
def stop_service(service):
# The no-op case when no service was started
if service is None:
# The no-op case when no service was started
if service is None:
- return
(success)
+ return
success
# This handles when the service is running as a direct child process
service.terminate()
# This handles when the service is running as a direct child process
service.terminate()
@@
-530,7
+530,7
@@
def stop_service(service):
with open("capture_stderr.log", "w") as serviceerr:
serviceerr.write(stderr.decode("utf-8"))
with open("capture_stderr.log", "w") as serviceerr:
serviceerr.write(stderr.decode("utf-8"))
- return
(success)
+ return
success
def tlog(message, quiet=False):
def tlog(message, quiet=False):