projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5831458
)
Optimize log output (set all defaults before logging the values)
author
Michael Andres
<ma@suse.de>
Thu, 24 Feb 2011 09:28:29 +0000
(10:28 +0100)
committer
Michael Andres
<ma@suse.de>
Thu, 24 Feb 2011 09:34:40 +0000
(10:34 +0100)
zypp/parser/RepoindexFileReader.cc
patch
|
blob
|
history
diff --git
a/zypp/parser/RepoindexFileReader.cc
b/zypp/parser/RepoindexFileReader.cc
index
191c67b
..
6e4e4d4
100644
(file)
--- a/
zypp/parser/RepoindexFileReader.cc
+++ b/
zypp/parser/RepoindexFileReader.cc
@@
-109,6
+109,9
@@
namespace zypp
// enabled attribute is set
info.setEnabled(false);
+ // Set some defaults that are not contained in the repo information
+ info.setAutorefresh( true );
+
// url and/or path
string url_s;
s = reader_r->getAttribute("url");
@@
-164,9
+167,6
@@
namespace zypp
DBG << info << endl;
- // Set some defaults that are not contained in the repo information
- info.setAutorefresh( true );
-
// ignore the rest
_callback(info);
return true;