From 8a9c811a2f9ec8628c87490050ea6edbf9d09a60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Sun, 30 Oct 2005 19:55:36 +0000 Subject: [PATCH] better, cleaner, more productive, not drinking too much (just a one-liner) --- pisi/actionsapi/shelltools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/actionsapi/shelltools.py b/pisi/actionsapi/shelltools.py index 223cf0ec..184571b2 100644 --- a/pisi/actionsapi/shelltools.py +++ b/pisi/actionsapi/shelltools.py @@ -206,6 +206,6 @@ def system(command): line = p.readline() if not line: break - ctx.ui.debug(line[0:len(line)-1]) + ctx.ui.debug(line[:-1]) return p.close()