1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-05 20:58:42 +02:00
This commit is contained in:
Marcus Huewe
2014-12-17 12:30:50 +01:00

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