Projet

Général

Profil

Révision bcae83c5

IDbcae83c51080f2ec19369934d53b02048fb640b7
Parent b90db64a
Enfant 624c826a

Ajouté par Oliver Chick il y a plus de 11 ans

candidateOrigin has been removed. Replace with candidate.origins

Voir les différences:

plugins/ubuntu/apt_ubuntu
96 96

  
97 97
def check_origin(pkg):
98 98
    #print 'Checking: %s (%s)' % (pkg.name, map(str, pkg.candidateOrigin))
99
    if pkg.candidateOrigin:
99
    if pkg.candidate.origins:
100 100
        for archive in archives:
101
            for origin in pkg.candidateOrigin:
101
            for origin in pkg.candidate.origins:
102 102
                #a = origin.archive.rpartition('-')[2]
103 103
                a = origin.archive.split('-')[origin.archive.count('-')]
104 104
                if a == archive and origin.origin in origins:

Formats disponibles : Unified diff