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:
91f23ec
)
mallardwriter: Put process_other with the rest of the processors
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Wed, 9 Jan 2013 06:50:09 +0000
(
01:50
-0500)
committer
Jasper St. Pierre
<jstpierre@mecheye.net>
Wed, 9 Jan 2013 08:16:13 +0000
(
03:16
-0500)
Simple cleanup
giscanner/mallardwriter.py
patch
|
blob
|
history
diff --git
a/giscanner/mallardwriter.py
b/giscanner/mallardwriter.py
index
b46ed12
..
f688401
100644
(file)
--- a/
giscanner/mallardwriter.py
+++ b/
giscanner/mallardwriter.py
@@
-174,9
+174,6
@@
class MallardFormatter(object):
result += '</p>'
return result
- def _process_other(self, namespace, match, props):
- return self.escape(match)
-
def _resolve_type(self, ident):
try:
matches = self._transformer.split_ctype_namespaces(ident)
@@
-205,6
+202,9
@@
class MallardFormatter(object):
return item
raise KeyError("Could not find %s" % (name, ))
+ def _process_other(self, namespace, match, props):
+ return self.escape(match)
+
def _process_property(self, namespace, match, props):
type_node = self._resolve_type(props['type_name'])
if type_node is None: