Split Revision into OBS and DB

This commit is contained in:
Stephan Kulow
2022-10-18 12:17:43 +02:00
parent c534fb028e
commit 25b45c5073
6 changed files with 54 additions and 15 deletions

View File

@@ -2,7 +2,7 @@ import itertools
import logging
import re
from lib.revision import Revision
from lib.obs_revision import OBSRevision
class History:
@@ -33,7 +33,7 @@ class History:
root = self.obs._history(project, self.package, **params)
if root is not None:
return [
Revision(self.obs, self, project, self.package).parse(r)
OBSRevision(self.obs, self, project, self.package).parse(r)
for r in root.findall("revision")
]