From: Jasper St. Pierre Date: Wed, 9 Jan 2013 06:50:09 +0000 (-0500) Subject: mallardwriter: Put process_other with the rest of the processors X-Git-Tag: GOBJECT_INTROSPECTION_1_35_4~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c47f6e37ef3efd4c99add02d6f0c86363f1f7e76;hp=91f23ececac9267a7ca39d3facb4c6de10c8fd5a;p=platform%2Fupstream%2Fgobject-introspection.git mallardwriter: Put process_other with the rest of the processors Simple cleanup --- 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 += '

' 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: