summaryrefslogtreecommitdiff
path: root/python/samba/ms_schema.py
diff options
context:
space:
mode:
authorAndrej <andiges23@gmail.com>2017-01-19 16:24:34 +0100
committerUri Simchoni <uri@samba.org>2017-02-21 09:51:18 +0100
commitf73c6bd2698ccd6e52b0782407c1c6c6fe78d60d (patch)
treea4364863a0f58709beaca8e62e45c627fb02b668 /python/samba/ms_schema.py
parent89ed562fd92375cfa19b071eff1148119b0d7f7d (diff)
downloadsamba-f73c6bd2698ccd6e52b0782407c1c6c6fe78d60d.tar.gz
Add missing import of sys in ms_schema.py
Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Uri Simchoni <uri@samba.org>
Diffstat (limited to 'python/samba/ms_schema.py')
-rw-r--r--python/samba/ms_schema.py1
1 files changed, 1 insertions, 0 deletions
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-]*):")