Skip to content

Commit

Permalink
Update from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Aug 16, 2017
1 parent fe5b3b1 commit 46110d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package/yast2-pkg-bindings.changes
Expand Up @@ -2,7 +2,7 @@
Wed Aug 16 11:20:16 UTC 2017 - igonzalezsosa@suse.com

- Add functions to handle product licenses (FATE#322276)
- 3.2.5
- 3.3.0

-------------------------------------------------------------------
Wed Jun 21 12:16:39 UTC 2017 - lslezak@suse.cz
Expand Down
2 changes: 1 addition & 1 deletion package/yast2-pkg-bindings.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-pkg-bindings
Version: 3.2.5
Version: 3.3.0
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
3 changes: 1 addition & 2 deletions src/Package.cc
Expand Up @@ -2774,11 +2774,10 @@ PkgFunctions::PrdMarkLicenseConfirmed(const YCPString& product)
if (!selectable)
{
y2warning("Product '%s' not found", productName.c_str());
return YCPBoolean(false);
return YCPVoid();
}

if (!selectable->hasLicenceConfirmed()) {
y2warning("DEBUG: setLicenceConfirmed");
selectable->setLicenceConfirmed();
return YCPBoolean(true);
} else {
Expand Down

0 comments on commit 46110d4

Please sign in to comment.