1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00
This commit is contained in:
Marcus Huewe 2014-12-17 12:30:50 +01:00
commit b2ec0c263a

View File

@ -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):