summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--dsextras.py2
-rwxr-xr-xsetup.py6
3 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5296cd1a..bbe5dc97 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-02-27 Johan Dahlin <jdahlin@async.com.br>
+
+ * dsextras.py (getstatusoutput): Small typo.
+
+ * setup.py: Cut the doclines, to make the windows installer happy
+
2003-02-26 Johan Dahlin <jdahlin@async.com.br>
* gtk/gdk.defs (invalidate_rect): Null is okay here.
diff --git a/dsextras.py b/dsextras.py
index 22eda7bf..a4462a41 100644
--- a/dsextras.py
+++ b/dsextras.py
@@ -26,7 +26,7 @@ def getstatusoutput(cmd):
pipe = os.popen(cmd, 'r')
text = pipe.read()
sts = pipe.close() or 0
- if text[-1] == '\n':
+ if text[-1:] == '\n':
text = text[:-1]
return sts, text
else:
diff --git a/setup.py b/setup.py
index 565dca0f..4fe511ee 100755
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,11 @@
#
"""Python Bindings for the GTK Widget Set.
-PyGTK is a set of bindings for the GTK widget set. It provides an object oriented interface that is slightly higher level than the C one. It automatically does all the type casting and reference counting that you would have to do normally with the C API. You can find out more on the official homepage, http://www.daa.com.au/~james/pygtk/"""
++PyGTK is a set of bindings for the GTK widget set. It provides an object
++oriented interface that is slightly higher level than the C one. It
++automatically does all the type casting and reference counting that you
++would have to do normally with the C API. You can find out more on the
++official homepage, http://www.daa.com.au/~james/pygtk/"""
from distutils.command.build import build
from distutils.core import setup