projects
/
platform
/
upstream
/
libzypp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 14.45.0
[platform/upstream/libzypp.git]
/
zypp
/
repo
/
susetags
/
Downloader.cc
diff --git
a/zypp/repo/susetags/Downloader.cc
b/zypp/repo/susetags/Downloader.cc
index
aadfc5e
..
c6b1c58
100644
(file)
--- a/
zypp/repo/susetags/Downloader.cc
+++ b/
zypp/repo/susetags/Downloader.cc
@@
-165,7
+165,7
@@
void Downloader::download( MediaSetAccess &media,
// check whether to download more package translations:
{
auto fnc_checkTransaltions( [&]( const Locale & locale_r ) {
// check whether to download more package translations:
{
auto fnc_checkTransaltions( [&]( const Locale & locale_r ) {
- for ( Locale toGet( locale_r ); toGet; toGet = toGet.fallback() )
+ for ( Locale toGet( locale_r ); toGet
!= Locale::noCode
; toGet = toGet.fallback() )
{
auto it( availablePackageTranslations.find( toGet.code() ) );
if ( it != availablePackageTranslations.end() )
{
auto it( availablePackageTranslations.find( toGet.code() ) );
if ( it != availablePackageTranslations.end() )