Re-fix get_status() doc string and remove commented code.

bzr-import-20160707
Celso Providelo 10 years ago
parent c3c9005d5f
commit f98bab42b2

@ -209,9 +209,7 @@ class BootTest(object):
self.pkglist[src][ver] = status self.pkglist[src][ver] = status
def get_status(self, name, version): def get_status(self, name, version):
"""Return test status for the given source name.""" """Return test status for the given source name and version."""
#version = sorted(
# self.pkglist[name], cmp=apt_pkg.version_compare)[-1]
return self.pkglist[name][version] return self.pkglist[name][version]
def request(self, packages): def request(self, packages):

Loading…
Cancel
Save