Skip to content

Commit

Permalink
fix #1166 (doc mistake)
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Nov 7, 2017
1 parent bbab187 commit 62c845a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DEVGUIDE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Some useful make commands::
$ make setup-dev-env # install useful dev libs (pyflakes, unittest2, etc.)
$ make test # run unit tests
$ make test-memleaks # run memory leak tests
$ make coverage # run test coverage
$ make test-coverage # run test coverage
$ make flake8 # run PEP8 linter

There are some differences between ``make`` on UNIX and Windows.
Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2429,13 +2429,13 @@ resources.
for p in procs:
p.terminate()
gone, alive = psutil.wait_procs(procs, timeout=timeout, callback=on_terminate)
if not alive:
if alive:
# send SIGKILL
for p in alive:
print("process {} survived SIGTERM; trying SIGKILL" % p)
p.kill()
gone, alive = psutil.wait_procs(alive, timeout=timeout, callback=on_terminate)
if not alive:
if alive:
# give up
for p in alive:
print("process {} survived SIGKILL; giving up" % p)
Expand Down

0 comments on commit 62c845a

Please sign in to comment.