summaryrefslogtreecommitdiff
path: root/scripts/reporead.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/reporead.py')
-rwxr-xr-xscripts/reporead.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/reporead.py b/scripts/reporead.py
index 2f97bbbe..08bf038d 100755
--- a/scripts/reporead.py
+++ b/scripts/reporead.py
@@ -77,6 +77,9 @@ class Pkg(object):
selfdict['name'] = val['name'][0]
del val['name']
+ if 'desc' not in val:
+ logger.warning("Package %s has no description" % selfdict['name'])
+ val['desc'] = ''
if 'url' not in val:
val['url'] = ''
for x in val.keys():