summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-05-23 06:32:32 +0200
committereliott <eliott@cactuswax.net>2008-05-23 06:32:32 +0200
commit45b1c2593e4f1433351c01dae7b63dfd146aa530 (patch)
tree07bc61e583b434dcae8977b7f16ff81745923dac /scripts
parent74a0b6df8a570b8e3c4a9f912ab8cd9678da741c (diff)
downloadarchweb-45b1c2593e4f1433351c01dae7b63dfd146aa530.tar.gz
archweb-45b1c2593e4f1433351c01dae7b63dfd146aa530.tar.xz
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')
-rwxr-xr-xscripts/reporead.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/reporead.py b/scripts/reporead.py
index 2f97bbb..08bf038 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():