location,str
This commit is contained in:
parent
3707f42b77
commit
9cd6155f8c
4 changed files with 21 additions and 11 deletions
|
@ -1,3 +1,12 @@
|
|||
import os
|
||||
|
||||
|
||||
class Repository:
|
||||
def __init__(self):
|
||||
pass
|
||||
def __init__(self, location):
|
||||
self.location = location
|
||||
|
||||
def __str__(self):
|
||||
lines = [
|
||||
f'Location: {self.location}',
|
||||
]
|
||||
return os.linesep.join(lines)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue