summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Wise <pabs3@bonedaddy.net>2016-07-28 11:24:08 +0800
committerPaul Wise <pabs3@bonedaddy.net>2016-07-28 11:24:51 +0800
commitc71b37723f17d9b398f5973d9fc0221fd7778aa7 (patch)
treeae3639174a531488b474ae6c26a8b29c1abeb344
parent6f58d45d78d44b753dd1560176c98e52b3c930ab (diff)
downloadiotop-c71b37723f17d9b398f5973d9fc0221fd7778aa7.tar.gz
Refer to Python using the correct capitalisation
Suggested-by: spellintian --picky
-rw-r--r--NEWS4
-rw-r--r--iotop/netlink.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index e8ea831..3beb93f 100644
--- a/NEWS
+++ b/NEWS
@@ -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])