diff options
author | Paul Wise <pabs3@bonedaddy.net> | 2016-07-28 11:24:08 +0800 |
---|---|---|
committer | Paul Wise <pabs3@bonedaddy.net> | 2016-07-28 11:24:51 +0800 |
commit | c71b37723f17d9b398f5973d9fc0221fd7778aa7 (patch) | |
tree | ae3639174a531488b474ae6c26a8b29c1abeb344 | |
parent | 6f58d45d78d44b753dd1560176c98e52b3c930ab (diff) | |
download | iotop-c71b37723f17d9b398f5973d9fc0221fd7778aa7.tar.gz |
Refer to Python using the correct capitalisation
Suggested-by: spellintian --picky
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | iotop/netlink.py | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -2,7 +2,7 @@ ~~~ o Clean up the terminal on exit o Stop busy looping on exit in certain conditions -o Restored UTF-8 support with python2 +o Restored UTF-8 support with Python 2 o Fixed install scripts to install to sbin/ instead of bin/ o Releases are now gpg signed with key "4096R/4D23A27E 2013-05-26" @@ -38,7 +38,7 @@ o Better reporting of missing requirements 0.4 ~~~ -o Compatibility with python2.4 using the ctypes module +o Compatibility with Python 2.4 using the ctypes module o Stopped using setuptools in favor of straight distutils 0.3.2 diff --git a/iotop/netlink.py b/iotop/netlink.py index 3154b70..842f9e7 100644 --- a/iotop/netlink.py +++ b/iotop/netlink.py @@ -11,7 +11,7 @@ import socket import struct try: - # try to use python 2.5's netlink support + # try to use Python 2.5's netlink support _dummysock = socket.socket(socket.AF_NETLINK, socket.SOCK_RAW, 0) _dummysock.bind((0, 0)) del _dummysock @@ -240,7 +240,7 @@ class Connection: def recv(self): contents, (nlpid, nlgrps) = _nl_recv(self.descriptor) - # XXX: python doesn't give us message flags, check + # XXX: Python doesn't give us message flags, check # len(contents) vs. msglen for TRUNC msglen, msg_type, flags, seq, pid = struct.unpack("IHHII", contents[:16]) |