make base_path public

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-10-14 08:57:06 +02:00
parent ede35ffd73
commit a8733c5b9b

View file

@ -57,10 +57,10 @@ class Type(object):
return cls._instances[name] return cls._instances[name]
def __init__(self, base_path, name): def __init__(self, base_path, name):
self._base_path = base_path self.base_path = base_path
self.name = name self.name = name
self.path = self.name self.path = self.name
self.absolute_path = os.path.join(self._base_path, self.path) self.absolute_path = os.path.join(self.base_path, self.path)
self.manifest_path = os.path.join(self.name, "manifest") self.manifest_path = os.path.join(self.name, "manifest")
self.explorer_path = os.path.join(self.name, "explorer") self.explorer_path = os.path.join(self.name, "explorer")
self.gencode_local_path = os.path.join(self.name, "gencode-local") self.gencode_local_path = os.path.join(self.name, "gencode-local")