summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-11-17 13:36:27 -0600
committerDan McGee <dan@archlinux.org>2011-11-17 13:36:27 -0600
commit2cb4f97bb235217d6e56deded1444f5e84f08b71 (patch)
treee9102523ae41673b335501588c3bba6e5aeb5366
parentf43a33ed8696d7bcb987d4878c6411c5d16846d6 (diff)
reporead: don't trim pkgdesc length
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--devel/management/commands/reporead.py6
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])