diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-06-18 21:02:59 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-06-18 21:02:59 +0200 |
commit | 8d61ae0b759b075d9b903e1ae5069430a66d8a92 (patch) | |
tree | 6762e8920f2dd9169a7c72975d9729a27831b0c5 /src/argparser.py | |
parent | m (diff) | |
download | argparser-8d61ae0b759b075d9b903e1ae5069430a66d8a92.tar.gz argparser-8d61ae0b759b075d9b903e1ae5069430a66d8a92.tar.bz2 argparser-8d61ae0b759b075d9b903e1ae5069430a66d8a92.tar.xz |
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/argparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argparser.py b/src/argparser.py index a89dada..7d29ade 100644 --- a/src/argparser.py +++ b/src/argparser.py @@ -79,7 +79,7 @@ class ArgParser(): ''' pid = os.readlink('/proc/self') lvl = levels - while lvl > 1: + while lvl > 0: with file as open('/proc/%d/status' % pid, 'r'): lines = file.readlines() found = False |