git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89ed562
)
Add missing import of sys in ms_schema.py
author
Andrej
<andiges23@gmail.com>
Thu, 19 Jan 2017 15:24:34 +0000
(16:24 +0100)
committer
Uri Simchoni
<uri@samba.org>
Tue, 21 Feb 2017 08:51:18 +0000
(09:51 +0100)
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
python/samba/ms_schema.py
patch
|
blob
|
history
diff --git
a/python/samba/ms_schema.py
b/python/samba/ms_schema.py
index c16693c9b5ab08469816de5650b172b689bf0bb0..245ce3f2a60832e89d6ff54498245f42c0c794eb 100644
(file)
--- 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-]*):")