diff options
author | Giampaolo Rodola' <g.rodola@gmail.com> | 2011-10-29 03:30:41 +0000 |
---|---|---|
committer | Giampaolo Rodola' <g.rodola@gmail.com> | 2011-10-29 03:30:41 +0000 |
commit | 3d2a976a1c61174ac0d46b9f1b020ca0cd9d6110 (patch) | |
tree | e354120c4a685e42f9b95113081024bf3c8f3ac7 /examples | |
parent | 7412c40e18f31e79123c9973d7a3b1eb4cd5fd29 (diff) | |
download | psutil-release-0.4.0.tar.gz |
last minute cleanups + update HISTORYrelease-0.4.0
Diffstat (limited to 'examples')
-rw-r--r-- | examples/iotop.py | 2 | ||||
-rw-r--r-- | examples/process_detail.py | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/examples/iotop.py b/examples/iotop.py index eedb7f9f..80ca9735 100644 --- a/examples/iotop.py +++ b/examples/iotop.py @@ -126,7 +126,6 @@ def refresh_window(procs, disks_read, disks_write): """Print results on screen by using curses.""" curses.endwin() templ = "%-5s %-7s %11s %11s %s" - interval = 0 win.erase() disks_tot = "Total DISK READ: %s | Total DISK WRITE: %s" \ @@ -147,7 +146,6 @@ def refresh_window(procs, disks_read, disks_write): except curses.error: break win.refresh() - interval = 1 def main(): try: diff --git a/examples/process_detail.py b/examples/process_detail.py index e58cf1d9..afec3ca0 100644 --- a/examples/process_detail.py +++ b/examples/process_detail.py @@ -16,7 +16,6 @@ import socket import sys import psutil -from psutil._compat import namedtuple def convert_bytes(n): |