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