Commit 7093f8b0 authored by Stefan Behnel's avatar Stefan Behnel

avoid unnecessary indentation level

parent e852f3ca
......@@ -47,7 +47,9 @@ class BaseType(object):
def get_fused_types(self, result=None, seen=None, subtypes=None):
subtypes = subtypes or self.subtypes
if subtypes:
if not subtypes:
return None
if result is None:
result = []
seen = set()
......@@ -63,8 +65,6 @@ class BaseType(object):
return result
return None
def specialize_fused(self, env):
if env.fused_to_specific:
return self.specialize(env.fused_to_specific)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment