mrmp/distribution.py
2023-01-28 21:19:16 +01:00

16 lines
396 B
Python

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)