2013-02-20, 02:03
Looks like Bluecop incorporated my change for resources/lib/_common.py. It needs one fix, a try/except block when parsing the args. On Windows (don't know about other platforms) I'm sometimes seeing the args list contain an empty string element, which the split chokes on.
Code:
class _Info:
def __init__(self, s):
args = urllib.unquote_plus(s).split('&')
for x in args:
try:
(k,v) = x.split('=', 1)
setattr(self, k, v.strip('"\''))
except:
pass