mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +00:00
candidateOrigin has been removed. Replace with candidate.origins
This commit is contained in:
parent
b90db64a0a
commit
bcae83c510
1 changed files with 2 additions and 2 deletions
|
@ -96,9 +96,9 @@ def config():
|
||||||
|
|
||||||
def check_origin(pkg):
|
def check_origin(pkg):
|
||||||
#print 'Checking: %s (%s)' % (pkg.name, map(str, pkg.candidateOrigin))
|
#print 'Checking: %s (%s)' % (pkg.name, map(str, pkg.candidateOrigin))
|
||||||
if pkg.candidateOrigin:
|
if pkg.candidate.origins:
|
||||||
for archive in archives:
|
for archive in archives:
|
||||||
for origin in pkg.candidateOrigin:
|
for origin in pkg.candidate.origins:
|
||||||
#a = origin.archive.rpartition('-')[2]
|
#a = origin.archive.rpartition('-')[2]
|
||||||
a = origin.archive.split('-')[origin.archive.count('-')]
|
a = origin.archive.split('-')[origin.archive.count('-')]
|
||||||
if a == archive and origin.origin in origins:
|
if a == archive and origin.origin in origins:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue