From 3255fb5ec246fb1988e1072a4c0f43d17531c23a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sat, 15 Aug 2009 14:23:02 +0200 Subject: Skip some data of eix.parser.package. The data is unneeded and just kill memory and runtime --- portato/eix/parser.pyx | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'portato/eix') diff --git a/portato/eix/parser.pyx b/portato/eix/parser.pyx index be4b77e..d791bf0 100644 --- a/portato/eix/parser.pyx +++ b/portato/eix/parser.pyx @@ -264,11 +264,11 @@ cdef class package: cdef LLong _offset cdef readonly object name - cdef readonly object description - cdef readonly object provide - cdef readonly object homepage - cdef readonly object license - cdef readonly object useflags + #cdef readonly object description + #cdef readonly object provide + #cdef readonly object homepage + #cdef readonly object license + #cdef readonly object useflags def __init__ (self, file): """ @@ -283,11 +283,13 @@ cdef class package: after_offset = ftell(cfile) self.name = string(file) - self.description = string(file) - self.provide = vector(file, number) - self.homepage = string(file) - self.license = number(file) - self.useflags = vector(file, number) + + # skip the rest, as it is currently unneeded + #self.description = string(file) + #self.provide = vector(file, number) + #self.homepage = string(file) + #self.license = number(file) + #self.useflags = vector(file, number) # self.versions = LE(typed_vector(version)) # for the moment just skip the versions -- cgit v1.2.3