summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgrecords.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-07-09 17:26:23 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2007-07-09 17:26:23 +0100
commit89b52526ec245cacdbac1b4aee6c877dc9a410e4 (patch)
treeaefd59c6227ad18395a06892a8dd3371776995a1 /apt-pkg/pkgrecords.cc
parentd52cf756b5e14c200ba502bed546254e464799cc (diff)
parent6724d2173133f24bc8a3875c13513761f9340627 (diff)
* merged apt--mvo
* reverted b-d changes * make upate-po
Diffstat (limited to 'apt-pkg/pkgrecords.cc')
-rw-r--r--apt-pkg/pkgrecords.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/apt-pkg/pkgrecords.cc b/apt-pkg/pkgrecords.cc
index d251bee41..a5dab22ff 100644
--- a/apt-pkg/pkgrecords.cc
+++ b/apt-pkg/pkgrecords.cc
@@ -20,7 +20,7 @@
// Records::pkgRecords - Constructor /*{{{*/
// ---------------------------------------------------------------------
/* This will create the necessary structures to access the status files */
-pkgRecords::pkgRecords(pkgCache &Cache) : Cache(Cache),
+pkgRecords::pkgRecords(pkgCache &Cache) : Cache(Cache),
Files(Cache.HeaderP->PackageFileCount)
{
for (pkgCache::PkgFileIterator I = Cache.FileBegin();
@@ -29,14 +29,14 @@ pkgRecords::pkgRecords(pkgCache &Cache) : Cache(Cache),
const pkgIndexFile::Type *Type = pkgIndexFile::Type::GetType(I.IndexType());
if (Type == 0)
{
- _error->Error(_("Index file type '%s' is not supported"),I.IndexType());
- return;
+ _error->Error(_("Index file type '%s' is not supported"),I.IndexType());
+ return;
}
Files[I->ID] = Type->CreatePkgParser(I);
if (Files[I->ID] == 0)
- return;
- }
+ return;
+ }
}
/*}}}*/
// Records::~pkgRecords - Destructor /*{{{*/
@@ -50,7 +50,6 @@ pkgRecords::~pkgRecords()
{
delete *it;
}
-
}
/*}}}*/
// Records::Lookup - Get a parser for the package version file /*{{{*/