diff options
author | Jiri Kastner <jkastner@redhat.com> | 2015-10-09 13:50:09 +0200 |
---|---|---|
committer | Jiri Kastner <jkastner@redhat.com> | 2015-10-09 16:42:26 +0200 |
commit | f1c8bf461da1344ae48f456a129502f276f5fc14 (patch) | |
tree | 940be6012f04ae1baa839288dbd58e0cf92880f0 | |
parent | 7b413d941f0d5412f2edc264fc4ca79d3cb9afcb (diff) | |
download | python-linux-procfs-f1c8bf461da1344ae48f456a129502f276f5fc14.tar.gz |
pidstats: fix documentation indentation
Signed-off-by: Jiri Kastner <jkastner@redhat.com>
Signed-off-by: John Kacur <jkacur at redhat.com>
-rwxr-xr-x | procfs/procfs.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/procfs/procfs.py b/procfs/procfs.py index 3d683c1..0706fbc 100755 --- a/procfs/procfs.py +++ b/procfs/procfs.py @@ -412,20 +412,20 @@ class pidstats: return key in self.processes def reload(self): - """ - This operation will trow away the current dictionary contents, if any, and - read all the pid files from /proc/, instantiating a 'process' instance for - each of them. + """ + This operation will throw away the current dictionary contents, if any, and + read all the pid files from /proc/, instantiating a 'process' instance for + each of them. - This is a high overhead operation, and should be avoided if the perf python - binding can be used to detect when new threads appear and existing ones - terminate. + This is a high overhead operation, and should be avoided if the perf python + binding can be used to detect when new threads appear and existing ones + terminate. - In RHEL it is found in the python-perf rpm package. + In RHEL it is found in the python-perf rpm package. - More information about the perf facilities can be found in the 'perf_event_open' - man page. - """ + More information about the perf facilities can be found in the 'perf_event_open' + man page. + """ del self.processes self.processes = {} pids = os.listdir(self.basedir) |