[gobject-introspection] mallardwriter: Remove some unused stuff
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] mallardwriter: Remove some unused stuff
- Date: Wed, 29 Aug 2012 06:16:17 +0000 (UTC)
commit 74616c2a0e30da1a5c4f912807f6ab181e639f96
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Aug 28 20:42:29 2012 -0300
mallardwriter: Remove some unused stuff
giscanner/mallardwriter.py | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/giscanner/mallardwriter.py b/giscanner/mallardwriter.py
index 3b0b810..585713a 100644
--- a/giscanner/mallardwriter.py
+++ b/giscanner/mallardwriter.py
@@ -27,14 +27,10 @@ import tempfile
from xml.sax import saxutils
from mako.template import Template
-from mako.runtime import supports_caller
from . import ast
from .utils import to_underscores
-def _space(num):
- return " " * num
-
class MallardFormatter(object):
def __init__(self, transformer):
self._transformer = transformer
@@ -131,7 +127,6 @@ class MallardFormatter(object):
return parent_chain
class MallardFormatterC(MallardFormatter):
-
def format_type(self, type_):
if isinstance(type_, ast.Array):
try:
@@ -144,7 +139,6 @@ class MallardFormatterC(MallardFormatter):
return type_.target_fundamental
class MallardFormatterPython(MallardFormatter):
-
def format_type(self, type_):
if isinstance(type_, ast.Array):
return '[' + self.format_type(type_.element_type) + ']'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]