diff options
author | Dan McGee <dan@archlinux.org> | 2010-05-24 10:57:17 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-05-24 10:57:17 -0500 |
commit | 5adceb6586afcac163b1abf9fb6f2d0f1b151b9a (patch) | |
tree | e62069f0b0b1d649bf5470ae2d6db11919e0723f /devel | |
parent | a1f7520b8cf35e134aed6b8d7933e2ccf82a2b50 (diff) |
Fix null field issues exposed by Django 1.1.2
Apparently Django 1.1.1 let null fields pass right through but this now
causes reporead to blow up in 1.1.2. Fix the issue and get things working
again by allowing nulls where it probably makes sense and including a
migration to fix the issue, which for the real database will be a no-op.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/management/commands/reporead.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/devel/management/commands/reporead.py b/devel/management/commands/reporead.py index 777bc5dd..ee606846 100644 --- a/devel/management/commands/reporead.py +++ b/devel/management/commands/reporead.py @@ -95,11 +95,6 @@ class Pkg(object): selfdict['name'] = val['name'][0] selfdict['base'] = None del val['name'] - if 'desc' not in val: - logger.warning("Package %s has no description" % selfdict['name']) - val['desc'] = None - if 'url' not in val: - val['url'] = None if 'license' not in val: val['license'] = [] for x in val.keys(): |