mirror of
https://github.com/samba-team/samba.git
synced 2025-12-19 12:23:49 +03:00
python compat: remove StringIO
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Noel Power <npower@samba.org>
This commit is contained in:
committed by
Noel Power
parent
9cc65a552b
commit
4d9d63b000
@@ -76,8 +76,6 @@ if PY3:
|
||||
binary_type = bytes
|
||||
|
||||
# alias
|
||||
import io
|
||||
StringIO = io.StringIO
|
||||
def ConfigParser(defaults=None, dict_type=dict, allow_no_value=False):
|
||||
from configparser import ConfigParser
|
||||
return ConfigParser(defaults, dict_type, allow_no_value, interpolation=None)
|
||||
|
||||
Reference in New Issue
Block a user