projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc739d7
)
mallardwriter: Fix whitespace
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Wed, 29 Aug 2012 08:39:23 +0000
(
05:39
-0300)
committer
Jasper St. Pierre
<jstpierre@mecheye.net>
Wed, 29 Aug 2012 08:39:23 +0000
(
05:39
-0300)
The whitespace should come included with the surrounding 'other'
tokens. We shouldn't need to add any.
giscanner/mallardwriter.py
patch
|
blob
|
history
diff --git
a/giscanner/mallardwriter.py
b/giscanner/mallardwriter.py
index
86df45d
..
133f921
100644
(file)
--- 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