From b44995bd50421bde621d8cc293fca05f868a7a97 Mon Sep 17 00:00:00 2001 From: Guillaume Chazarain Date: Sun, 9 Mar 2008 22:53:37 +0100 Subject: [PATCH] Extracted out version number --- iotop/ui.py | 3 +-- iotop/version.py | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 iotop/version.py diff --git a/iotop/ui.py b/iotop/ui.py index 3b29f0b..45395a2 100644 --- a/iotop/ui.py +++ b/iotop/ui.py @@ -8,6 +8,7 @@ import struct import sys from iotop.data import find_uids, TaskStatsNetlink, ProcessList +from iotop.version import VERSION # # Utility functions for the UI @@ -205,8 +206,6 @@ def run_iotop(win, options): # Main program # -VERSION = '0.2' - USAGE = '''%s [OPTIONS] DISK READ and DISK WRITE are the block I/O bandwidth used during the sampling diff --git a/iotop/version.py b/iotop/version.py new file mode 100644 index 0000000..68c0733 --- /dev/null +++ b/iotop/version.py @@ -0,0 +1 @@ +VERSION = '0.2' -- 2.11.4.GIT