unused code

This commit is contained in:
Michael Barton
2010-09-22 19:53:38 +00:00
parent 9ea5d0b3a1
commit 36c05a28ef

View File

@@ -14,7 +14,6 @@
# limitations under the License.
import os
import re
from webob.exc import HTTPBadRequest, HTTPLengthRequired, \
HTTPRequestEntityTooLarge
@@ -144,10 +143,6 @@ def check_float(string):
return False
_invalid_xml = re.compile(ur'[^\x09\x0a\x0d\x20-\uD7FF\uE000-\uFFFD%s-%s]' %
(unichr(0x10000), unichr(0x10FFFF)))
def check_utf8(string):
"""
Validate if a string is valid UTF-8.