summaryrefslogtreecommitdiffstats
path: root/dsextras.py
diff options
context:
space:
mode:
authorJohan Dahlin <zilch@src.gnome.org>2003-02-27 12:57:43 +0000
committerJohan Dahlin <zilch@src.gnome.org>2003-02-27 12:57:43 +0000
commit935cac6d643a2762bb56716b099cbb55e83744d7 (patch)
tree2eb598eb271aa0ff52009d23d81d3e2bbe659e6c /dsextras.py
parent0ec6ea37b32dc9a588fe91593108a3dd8a53d4a9 (diff)
downloadpygobject-935cac6d643a2762bb56716b099cbb55e83744d7.tar.gz
pygobject-935cac6d643a2762bb56716b099cbb55e83744d7.tar.xz
pygobject-935cac6d643a2762bb56716b099cbb55e83744d7.zip
Small typo.
* dsextras.py (getstatusoutput): Small typo. * setup.py: Cut the doclines, to make the windows installer happy
Diffstat (limited to 'dsextras.py')
-rw-r--r--dsextras.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dsextras.py b/dsextras.py
index 22eda7b..a4462a4 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: