packages: add string representation

Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
This commit is contained in:
InsanePrawn 2021-08-16 02:44:12 +02:00 committed by jld3103
parent 67bbf90b5c
commit 76a7ddafbe

View file

@ -87,6 +87,9 @@ class Package:
exit(1) exit(1)
self.mode = mode self.mode = mode
def __repr__(self):
return f'package({self.name},{repr(self.names)})'
def check_prebuilts(): def check_prebuilts():
if not os.path.exists('prebuilts'): if not os.path.exists('prebuilts'):