summaryrefslogtreecommitdiff
path: root/scripts/reporead.py
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-05-23 00:32:32 -0400
committereliott <eliott@cactuswax.net>2008-05-23 00:32:32 -0400
commit45b1c2593e4f1433351c01dae7b63dfd146aa530 (patch)
tree07bc61e583b434dcae8977b7f16ff81745923dac /scripts/reporead.py
parent74a0b6df8a570b8e3c4a9f912ab8cd9678da741c (diff)
Updates for deployment.
- Fix for reporead when description is empty. - Fix for settings.py. Middleware wasn't found (changed import name) - Clarity change for dashboard.
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():