From a56f250cb42786b4a7848095d23635a4e8d565a5 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 29 Aug 2012 05:39:23 -0300 Subject: mallardwriter: Fix whitespace The whitespace should come included with the surrounding 'other' tokens. We shouldn't need to add any. --- giscanner/mallardwriter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/giscanner/mallardwriter.py b/giscanner/mallardwriter.py index 86df45d4..133f9214 100644 --- a/giscanner/mallardwriter.py +++ b/giscanner/mallardwriter.py @@ -245,7 +245,7 @@ class MallardFormatter(object): tokens = self._scanner.scan(para) words = [(tok, self._process_token(tok)) for tok in tokens] words = [w[1] for w in words] - return ' '.join(words) + return ''.join(words) def format_function_name(self, func): raise NotImplementedError -- cgit v1.2.1