[master 5/22] Add tasks infrastructure to tasks directory.
mulkieran
installerbot-noreply at redhat.com
Tue May 12 14:18:28 UTC 2015
In reply to line 147 of blivet/tasks/availability.py:
ok, needed some modification. Now looks like:
```
ts = rpm.TransactionSet()
info = ts.dbMatch("provides", self.package.package_name)
if len(info) == 0:
raise AvailabilityError("Could not determine package version for %s" % self.package.package_name)
version = next(info)['version']
if six.PY3:
version = version.decode()
return LooseVersion(version)
```
--
To view this comment on github, visit https://github.com/mulkieran/blivet/commit/caaa1c4fe050111e7dba3064b58b7520dd8fe0fe#commitcomment-11155775
More information about the anaconda-patches
mailing list