diff options
author | Dan McGee <dan@archlinux.org> | 2011-11-17 13:36:27 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-11-17 13:36:27 -0600 |
commit | 2cb4f97bb235217d6e56deded1444f5e84f08b71 (patch) | |
tree | e9102523ae41673b335501588c3bba6e5aeb5366 /devel/management/commands | |
parent | f43a33ed8696d7bcb987d4878c6411c5d16846d6 (diff) |
reporead: don't trim pkgdesc length
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/management/commands')
-rw-r--r-- | devel/management/commands/reporead.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/management/commands/reporead.py b/devel/management/commands/reporead.py index b6bd8457..cf101d97 100644 --- a/devel/management/commands/reporead.py +++ b/devel/management/commands/reporead.py @@ -73,7 +73,7 @@ class Command(BaseCommand): class Pkg(object): """An interim 'container' object for holding Arch package data.""" - bare = ( 'name', 'base', 'arch', 'desc', 'filename', + bare = ( 'name', 'base', 'arch', 'filename', 'md5sum', 'sha256sum', 'url', 'packager' ) number = ( 'csize', 'isize' ) collections = ( 'depends', 'optdepends', 'conflicts', @@ -101,8 +101,8 @@ class Pkg(object): setattr(self, k, v[0][:254]) elif k in self.number: setattr(self, k, long(v[0])) - elif k == 'pgpsig': - # do NOT prune this value at all + elif k in ('desc', 'pgpsig'): + # do NOT prune these values at all setattr(self, k, v[0]) elif k == 'version': match = self.version_re.match(v[0]) |