path
This commit is contained in:
parent
a5c8873436
commit
0aec6573f8
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ DISTRIBUTION = 'distrib'
|
||||||
class Distribution:
|
class Distribution:
|
||||||
def __init__(self, architecture):
|
def __init__(self, architecture):
|
||||||
self.architecture = architecture
|
self.architecture = architecture
|
||||||
self.path = os.sep.join([DISTRIBUTION, self.architecture.name])
|
self.path = os.path.join(DISTRIBUTION, self.architecture.name)
|
||||||
self.load()
|
self.load()
|
||||||
|
|
||||||
def load(self):
|
def load(self):
|
||||||
|
|
|
@ -19,7 +19,7 @@ class SubSystem:
|
||||||
list.append(self.name)
|
list.append(self.name)
|
||||||
if self.name == MAIN:
|
if self.name == MAIN:
|
||||||
list.append(self.architecture.name)
|
list.append(self.architecture.name)
|
||||||
self.path = os.sep.join(list)
|
self.path = os.path.join(*list)
|
||||||
# catalog
|
# catalog
|
||||||
self.catalog = catalog.Catalog(self)
|
self.catalog = catalog.Catalog(self)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue