Type: implement gencode, gencode_remote

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-10-07 13:04:00 +02:00
parent d3ae8b7c90
commit 4f33e5222d

View file

@ -116,6 +116,14 @@ class Type(object):
def manifest_path(self):
return os.path.join(self.path, "manifest")
@property
def gencode(self):
return os.path.join(self.path, "gencode-local")
@property
def gencode_remote(self):
return os.path.join(self.path, "gencode-remote")
@property
def is_singleton(self):
"""Check whether a type is a singleton."""