From: Andrej Date: Thu, 19 Jan 2017 15:24:34 +0000 (+0100) Subject: Add missing import of sys in ms_schema.py X-Git-Tag: talloc-2.1.9~133 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=f73c6bd2698ccd6e52b0782407c1c6c6fe78d60d Add missing import of sys in ms_schema.py Reviewed-by: Andrew Bartlett Reviewed-by: Uri Simchoni --- diff --git a/python/samba/ms_schema.py b/python/samba/ms_schema.py index c16693c9b5a..245ce3f2a60 100644 --- a/python/samba/ms_schema.py +++ b/python/samba/ms_schema.py @@ -117,6 +117,7 @@ def __read_folded_line(f, buffer): def __read_raw_entries(f): """reads an LDIF entry, only unfolding lines""" + import sys # will not match options after the attribute type attr_type_re = re.compile("^([A-Za-z]+[A-Za-z0-9-]*):")