Author: haass Date: Wed Aug 8 15:32:19 2007 New Revision: 6526 URL: http://svn.opensuse.org/viewcvs/zypp?rev=6526&view=rev Log: Added default value for package vendor-id Modified: trunk/libzypp-testsuite/src/helix/HelixPackageImpl.cc Modified: trunk/libzypp-testsuite/src/helix/HelixPackageImpl.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp-testsuite/src/helix/HelixPackageImpl.cc?rev=6526&r1=6525&r2=6526&view=diff ============================================================================== --- trunk/libzypp-testsuite/src/helix/HelixPackageImpl.cc (original) +++ trunk/libzypp-testsuite/src/helix/HelixPackageImpl.cc Wed Aug 8 15:32:19 2007 @@ -71,7 +71,11 @@ { return _mediaid; } Vendor HelixPackageImpl::vendor() const -{ return _vendor; } +{ + if ( _vendor == "") + return "SUSE LINUX Products GmbH, Nuernberg, Germany"; + return _vendor; +} ///////////////////////////////////////////////////////////////// } // namespace zypp -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org