From f73c6bd2698ccd6e52b0782407c1c6c6fe78d60d Mon Sep 17 00:00:00 2001 From: Andrej Date: Thu, 19 Jan 2017 16:24:34 +0100 Subject: [PATCH] Add missing import of sys in ms_schema.py Reviewed-by: Andrew Bartlett Reviewed-by: Uri Simchoni --- python/samba/ms_schema.py | 1 + 1 file changed, 1 insertion(+) 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-]*):") -- 2.34.1