summaryrefslogtreecommitdiff
path: root/python_modules
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2018-05-06 06:28:32 +0100
committerFrediano Ziglio <fziglio@redhat.com>2018-05-09 11:59:33 +0100
commit754cd54e1a807e5e9e87402392b8be9fdb66c637 (patch)
treee644a94f88144fd6c7d2c7f05257a6d6ab9cdbaa /python_modules
parent46fa9d5efba541a99f9c4ab3e9e9e738659f9ef6 (diff)
codegen: Removed unused get_type methods
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Lukáš Hrázký <lhrazky@redhat.com>
Diffstat (limited to 'python_modules')
-rw-r--r--python_modules/ptypes.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/python_modules/ptypes.py b/python_modules/ptypes.py
index d07ee97..0f6d8d6 100644
--- a/python_modules/ptypes.py
+++ b/python_modules/ptypes.py
@@ -149,9 +149,6 @@ class Type:
def has_name(self):
return self.name != None
- def get_type(self, recursive=False):
- return self
-
def is_primitive(self):
return False
@@ -260,12 +257,6 @@ class TypeAlias(Type):
self.the_type = the_type
self.attributes = fix_attributes(attribute_list)
- def get_type(self, recursive=False):
- if recursive:
- return self.the_type.get_type(True)
- else:
- return self.the_type
-
def primitive_type(self):
return self.the_type.primitive_type()