The following commit has been merged in the master branch:
commit 98a9d2f159971f0a89b178a046c8e5a36721a8fa
Author: Andreas Tille <[email protected]>
Date: Sun Mar 2 09:49:22 2014 +0100
Do not provide so much information when encoding error might occure
diff --git a/webtools/tasks.py b/webtools/tasks.py
index c654543..adcd938 100755
--- a/webtools/tasks.py
+++ b/webtools/tasks.py
@@ -241,17 +241,6 @@ the right shows the tasks of %s.""" ) \
except UnicodeEncodeError, errtxt:
print "Some critical encoding problem occured when
trying to render task %s for lang %s.\n%s" \
% (task, lang, errtxt)
- for dt in data['tasks'].keys():
- dpl =
data['tasks'][dt].dependencies['official_high']
- for dp in dpl:
- if dp.taskname == task:
- print "%s / %s: %s" % (task,
lang, dp.desc[lang])
- if
dp.properties.has_key('published'):
- try:
- print
"\tpublished-authors: %s" % ( to_unicode(dp.properties['published']['authors'])
)
- except
UnicodeEncodeError, err:
- print err, "
[starts with >>%s<<]" % to_unicode(dp.properties['published']['authors'][0:10])
- print "\n"
except UnicodeDecodeError, errtxt:
print >> stderr, \
"Some critical encoding problem occured when
trying to render task %s for lang %s.\n%s" \
--
Static and dynamic websites for Debian Pure Blends
_______________________________________________
Blends-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/blends-commit