Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Date: Thu Apr 23 11:32:52 2009
New Revision: 7854
Ignore empty tags instead of raising an exception.
--- Webware/trunk/PSP/Generators.py (original)
+++ Webware/trunk/PSP/Generators.py Thu Apr 23 11:32:52 2009
@@ -111,6 +111,8 @@
if self.chars[:1] == ' ' and self.chars[:2] != ' ':
self.chars = self.chars.lstrip()
lines = PSPUtils.splitLines(PSPUtils.removeQuotes(self.chars))
+ if not lines:
+ return # ignore empty tag
# userIndent check
if len(lines[-1]) > 0 and lines[-1][-1] == '$':
lastline = lines[-1] = lines[-1][:-1]
Sign up for the SourceForge newsletter: