Merge lp:~bjornt/landscape-client/apt-get-packages-versions into lp:~landscape/landscape-client/trunk
Proposed by
Björn Tillenius
Status: | Merged |
---|---|
Approved by: | Free Ekanayaka |
Approved revision: | 435 |
Merged at revision: | 376 |
Proposed branch: | lp:~bjornt/landscape-client/apt-get-packages-versions |
Merge into: | lp:~landscape/landscape-client/trunk |
Prerequisite: | lp:~bjornt/landscape-client/apt-get-packages-by-name |
To merge this branch: | bzr merge lp:~bjornt/landscape-client/apt-get-packages-versions |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Free Ekanayaka (community) | Approve | ||
Jerry Seutter (community) | Approve | ||
Review via email:
|
Description of the change
Change AptFacade.
package, so that we can report all the installed and available package
versions.
To post a comment you must log in.
+1, looks good.
[1] available( self, version):
+ def is_package_
"""Is the package available for installation?"""
is_package_ available is only checking if the specific version of the package is available. The docstring/method name could be a bit more precise. This also may be nitpicking :)
I guess this raises a bigger question: Is a version a package? I'm curious because get_package_by_name returns a version...