[gobject-introspection/wip/doctool-improvements: 4/14] mallardwriter: Put process_other with the rest of the processors
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/wip/doctool-improvements: 4/14] mallardwriter: Put process_other with the rest of the processors
- Date: Wed, 9 Jan 2013 08:17:12 +0000 (UTC)
commit c47f6e37ef3efd4c99add02d6f0c86363f1f7e76
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Jan 9 01:50:09 2013 -0500
mallardwriter: Put process_other with the rest of the processors
Simple cleanup
giscanner/mallardwriter.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/giscanner/mallardwriter.py b/giscanner/mallardwriter.py
index b46ed12..f688401 100644
--- 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]