path/distribution
This commit is contained in:
parent
bb36a79cbf
commit
27ce3ca25c
4 changed files with 10 additions and 12 deletions
|
@ -1,12 +1,16 @@
|
|||
import os
|
||||
|
||||
DISTRIBUTION = 'distrib'
|
||||
|
||||
|
||||
class Distribution:
|
||||
def __init__(self, architecture):
|
||||
self.architecture = architecture
|
||||
self.path = os.sep.join([DISTRIBUTION, self.architecture.name])
|
||||
|
||||
def __str__(self):
|
||||
lines = [
|
||||
f'Architecture: {self.architecture.name}',
|
||||
f' Path: {self.path}',
|
||||
]
|
||||
return os.linesep.join(lines)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue