remove unused argument (closes #21135)

This commit is contained in:
Benjamin Peterson 2014-04-03 10:22:10 -04:00
parent 0bd22d4277
commit 4d59a78786
1 changed files with 1 additions and 1 deletions

View File

@ -1045,7 +1045,7 @@ def escape(s, quote=None):
return s return s
def valid_boundary(s, _vb_pattern=None): def valid_boundary(s):
import re import re
if isinstance(s, bytes): if isinstance(s, bytes):
_vb_pattern = b"^[ -~]{0,200}[!-~]$" _vb_pattern = b"^[ -~]{0,200}[!-~]$"