[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[snapshot/master] Python split is different



---
 master/remove-package |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/master/remove-package b/master/remove-package
index 4b48a3d..1822645 100755
--- a/master/remove-package
+++ b/master/remove-package
@@ -184,7 +184,7 @@ def parse_editbuffer(buf):
         if in_files:
             if l == '':
                 continue
-            x = l.split(' ', 2)
+            x = l.split(' ', 1)
             x = x[0]
             if len(x) != 40:
                 sys.stderr.write("Cannot parse line '%s'.\n"%(l))
-- 
1.5.6.5


Reply to: