packages: add string representation
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
This commit is contained in:
parent
67bbf90b5c
commit
76a7ddafbe
1 changed files with 3 additions and 0 deletions
|
@ -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'):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue