~ubuntu-branches/ubuntu/hardy/screenlets/hardy

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -Nur -x '*.orig' -x '*~' screenlets-0.0.12/src/lib/options.py screenlets-0.0.12.new/src/lib/options.py
--- screenlets-0.0.12/src/lib/options.py	2008-02-08 03:46:21.000000000 +0100
+++ screenlets-0.0.12.new/src/lib/options.py	2008-04-06 19:31:53.000000000 +0200
@@ -884,6 +884,10 @@
 			mu = '<b><span weight="ultrabold" size="large">' + name_uc + \
 			'</span></b> (no info available)'
 		else:
+			if attrib[1] == None : attrib[1] = '-'
+			if attrib[2] == None : attrib[2] = '-'
+			if attrib[3] == None : attrib[3] = '-'
+			if attrib[4] == None : attrib[4] = '-'
 			mu = '<b><span weight="ultrabold" size="large">' + name_uc + \
 				'</span></b> v' + attrib[4] + '\n<small><span color="#555555' +\
 				'">' + attrib[2].replace('\\n', '\n') + \