From 46ce2f37ee8b643050e7c39c33d6ec06ae3a0271 Mon Sep 17 00:00:00 2001 From: ccremers Date: Thu, 14 Oct 2004 20:17:01 +0000 Subject: [PATCH] - Cut off tab at the end of a line for xargs --- spdl/tuples.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spdl/tuples.py b/spdl/tuples.py index db9017f..e0ca7c8 100755 --- a/spdl/tuples.py +++ b/spdl/tuples.py @@ -44,9 +44,12 @@ def tupleUnit (x): def tuplesPrint (l, n, r): if r and (len(r) == n): + count = 0 for x in r: + if count > 0: + print "\t", print x, - print "\t", + count = count+1 print else: if l and (n > 0):