mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-25 17:36:13 +01:00
Merge branch 'repr' of https://github.com/jelly/osc
This commit is contained in:
commit
b2ec0c263a
@ -5176,6 +5176,9 @@ class Repo:
|
||||
def __str__(self):
|
||||
return self.repo_line_templ % (self.name, self.arch)
|
||||
|
||||
def __repr__(self):
|
||||
return 'Repo(%s %s)' % (self.name, self.arch)
|
||||
|
||||
@staticmethod
|
||||
def fromfile(filename):
|
||||
if not os.path.exists(filename):
|
||||
|
Loading…
Reference in New Issue
Block a user