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:
a56f250
)
mallardwriter: Remove some silly code
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Wed, 29 Aug 2012 08:39:53 +0000
(
05:39
-0300)
committer
Jasper St. Pierre
<jstpierre@mecheye.net>
Wed, 29 Aug 2012 08:39:53 +0000
(
05:39
-0300)
This silly code was part of a debugging harness.
giscanner/mallardwriter.py
patch
|
blob
|
history
diff --git
a/giscanner/mallardwriter.py
b/giscanner/mallardwriter.py
index 133f92141bb4129a99c911a921c20ee4591e2150..bb77ace760b1eaf9f18f7777362caa1991d8deb6 100644
(file)
--- a/
giscanner/mallardwriter.py
+++ b/
giscanner/mallardwriter.py
@@
-243,8
+243,7
@@
class MallardFormatter(object):
def format_inline(self, para):
tokens = self._scanner.scan(para)
- words = [(tok, self._process_token(tok)) for tok in tokens]
- words = [w[1] for w in words]
+ words = [self._process_token(tok) for tok in tokens]
return ''.join(words)
def format_function_name(self, func):