diff options
author | Johan Dahlin <zilch@src.gnome.org> | 2003-02-27 12:57:43 +0000 |
---|---|---|
committer | Johan Dahlin <zilch@src.gnome.org> | 2003-02-27 12:57:43 +0000 |
commit | e3b71bb116d0fc53737c119271cb3e0b4789af64 (patch) | |
tree | cdfb2e0c77ffb582e75c85df146f4dbe09b40c3d | |
parent | fb3c1c5c103e9874c5e171a017b18fa9d3b32623 (diff) | |
download | pygtk-e3b71bb116d0fc53737c119271cb3e0b4789af64.tar.gz |
Small typo.
* dsextras.py (getstatusoutput): Small typo.
* setup.py: Cut the doclines, to make the windows installer happy
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | dsextras.py | 2 | ||||
-rwxr-xr-x | setup.py | 6 |
3 files changed, 12 insertions, 2 deletions
@@ -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: @@ -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 |