~ubuntu-core-dev/apt/oneiric

« back to all changes in this revision

Viewing changes to apt-pkg/vendorlist.cc

  • Committer: Michael Vogt
  • Date: 2011-08-15 12:14:35 UTC
  • mfrom: (1327.97.57 debian-sid)
  • Revision ID: michael.vogt@ubuntu.com-20110815121435-ya00o0nicb1kiz2y
merged from the debian-sid branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
pkgVendorList::~pkgVendorList()
12
12
{
13
13
   for (vector<const Vendor *>::const_iterator I = VendorList.begin(); 
14
 
        I != VendorList.end(); I++)
 
14
        I != VendorList.end(); ++I)
15
15
      delete *I;
16
16
}
17
17
 
49
49
bool pkgVendorList::CreateList(Configuration& Cnf)                      /*{{{*/
50
50
{
51
51
   for (vector<const Vendor *>::const_iterator I = VendorList.begin(); 
52
 
        I != VendorList.end(); I++)
 
52
        I != VendorList.end(); ++I)
53
53
      delete *I;
54
54
   VendorList.erase(VendorList.begin(),VendorList.end());
55
55
 
129
129
                                                                        /*}}}*/
130
130
const Vendor* pkgVendorList::FindVendor(const std::vector<string> GPGVOutput)   /*{{{*/
131
131
{
132
 
   for (std::vector<string>::const_iterator I = GPGVOutput.begin(); I != GPGVOutput.end(); I++)
 
132
   for (std::vector<string>::const_iterator I = GPGVOutput.begin(); I != GPGVOutput.end(); ++I)
133
133
   {
134
134
      string::size_type pos = (*I).find("VALIDSIG ");
135
135
      if (_config->FindB("Debug::Vendor", false))