- Cut off tab at the end of a line for xargs
This commit is contained in:
parent
19d7b42b14
commit
46ce2f37ee
@ -44,9 +44,12 @@ def tupleUnit (x):
|
|||||||
|
|
||||||
def tuplesPrint (l, n, r):
|
def tuplesPrint (l, n, r):
|
||||||
if r and (len(r) == n):
|
if r and (len(r) == n):
|
||||||
|
count = 0
|
||||||
for x in r:
|
for x in r:
|
||||||
|
if count > 0:
|
||||||
|
print "\t",
|
||||||
print x,
|
print x,
|
||||||
print "\t",
|
count = count+1
|
||||||
print
|
print
|
||||||
else:
|
else:
|
||||||
if l and (n > 0):
|
if l and (n > 0):
|
||||||
|
Loading…
Reference in New Issue
Block a user