arskom/rpclib — pull request #145 by xtfxme (2012-06-21 21:03:55+00:00)
Title: [issue #145] Unicode.validate_string: do not pass None to re.match

Nillable strings which also define an Attributes.pattern end up passing None to
re.match, throwing `TypeError: expected string or buffer`. Correct by running
regex check only if value is not None.