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:
aa4e5ac
)
comment updated
author
Michael Andres
<ma@suse.de>
Thu, 5 Mar 2009 15:09:05 +0000
(16:09 +0100)
committer
Michael Andres
<ma@suse.de>
Thu, 5 Mar 2009 15:09:05 +0000
(16:09 +0100)
zypp/Repository.cc
patch
|
blob
|
history
diff --git
a/zypp/Repository.cc
b/zypp/Repository.cc
index
96bfea9
..
7e880af
100644
(file)
--- a/
zypp/Repository.cc
+++ b/
zypp/Repository.cc
@@
-116,7
+116,7
@@
namespace zypp
if ( key == it.cpeId() )
return true;
}
-
+
return false;
}
@@
-199,6
+199,8
@@
namespace zypp
// satsolver priority is based on '<', while yum's repoinfo
// uses 1(highest)->99(lowest). Thus we use -info_r.priority.
_repo->priority = -info_r.priority();
+ // subpriority could be used to e.g. prefer http over dvd iff both have same priority.
+ // _repo->subpriority = 0;
}
void Repository::clearInfo()