mirror of https://github.com/MISP/PyMISP
File indention fixed
parent
6fc403f7c8
commit
70808a46ca
|
@ -1023,9 +1023,9 @@ class PyMISP(object):
|
||||||
|
|
||||||
def get_sharing_groups(self):
|
def get_sharing_groups(self):
|
||||||
session = self.__prepare_session(force_out=None)
|
session = self.__prepare_session(force_out=None)
|
||||||
url = urljoin(self.root_url, 'sharing_groups/index.json')
|
url = urljoin(self.root_url, 'sharing_groups/index.json')
|
||||||
response = session.get(url)
|
response = session.get(url)
|
||||||
return self._check_response(response)['response'][0]
|
return self._check_response(response)['response'][0]
|
||||||
|
|
||||||
|
|
||||||
# ############## Deprecated (Pure XML API should not be used) ##################
|
# ############## Deprecated (Pure XML API should not be used) ##################
|
||||||
|
|
Loading…
Reference in New Issue