summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2012-04-07 03:18:06 +0200
committerFlorian Bruhin <me@the-compiler.org>2012-04-07 03:18:06 +0200
commitb637c399aa7af3ff3c15305ab2482975c6aaa3b2 (patch)
treeedfcf7892fa839fed22b3aec697c4620ef68a798
parentfe6f4db47e824170670f6e0f73f0c744a3244c3a (diff)
downloadschreimaschine-b637c399aa7af3ff3c15305ab2482975c6aaa3b2.tar.gz
schreimaschine-b637c399aa7af3ff3c15305ab2482975c6aaa3b2.zip
Change format for repeated fields
-rw-r--r--src/tweetwriter.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tweetwriter.py b/src/tweetwriter.py
index 1a15ca6..ca68580 100644
--- a/src/tweetwriter.py
+++ b/src/tweetwriter.py
@@ -520,11 +520,11 @@ def output(data):
(lastservice, lastuser, lasttext) = (None, None, None)
for (service, user, text) in data:
if service == lastservice:
- service = '-.' + (' ' * (len(lastservice) - 1))
+ service = '..' + (' ' * (len(lastservice) - 1))
if user == lastuser:
- user = '-' + (' ' * (len(lastuser) - 1))
+ user = '..' + (' ' * (len(lastuser) - 1))
if text == lasttext:
- text = '-' + (' ' * (len(lasttext) - 1))
+ text = '..' + (' ' * (len(lasttext) - 1))
output = '%-12.12s | %-10.10s | %.200s' % (service, user, text)
serout = '%.30s / %.30s / %.500s\n' % (encode(service),
encode(user), encode(text))