add user management and examples

pull/30/head
Déborah Servili 2016-11-03 11:41:37 +01:00
commit dbba8ed0f9
2 changed files with 3 additions and 4 deletions

View File

@ -11,10 +11,10 @@ import re
import warnings
try:
warnings.warn("You're using python 2, it is strongly recommended to use python >=3.3")
from urllib.parse import urljoin
except ImportError:
from urlparse import urljoin
warnings.warn("You're using python 2, it is strongly recommended to use python >=3.3")
from io import BytesIO
import zipfile
@ -31,8 +31,8 @@ from .mispevent import MISPEvent, MISPAttribute, EncodeUpdate
# Least dirty way to support python 2 and 3
try:
warnings.warn("You're using python 2, it is strongly recommended to use python >=3.3")
basestring
warnings.warn("You're using python 2, it is strongly recommended to use python >=3.3")
except NameError:
basestring = str

View File

@ -311,8 +311,7 @@
}
},
"required": [
"info",
"Attribute"
"info"
]
}
},