Revision f25a4623 snfOCCI/snf_voms/__init__.py

b/snfOCCI/snf_voms/__init__.py
12 12
# License for the specific language governing permissions and limitations
13 13
# under the License.
14 14

  
15
# Copyright 2012-2013 GRNET S.A. All rights reserved.
16
#
17
# Redistribution and use in source and binary forms, with or
18
# without modification, are permitted provided that the following
19
# conditions are met:
20
#
21
#   1. Redistributions of source code must retain the above
22
#     copyright notice, this list of conditions and the following
23
#     disclaimer.
24
#
25
#   2. Redistributions in binary form must reproduce the above
26
#     copyright notice, this list of conditions and the following
27
#     disclaimer in the documentation and/or other materials
28
#     provided with the distribution.
29
#
30
# THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
31
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
32
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
33
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
34
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
35
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
36
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
37
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
38
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
39
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
40
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41
# POSSIBILITY OF SUCH DAMAGE.
42
#
43
# The views and conclusions contained in the software and
44
# documentation are those of the authors and should not be
45
# interpreted as representing official policies, either expressed
46
# or implied, of GRNET S.A.
47

  
48

  
15 49
import json
16 50
import M2Crypto
17 51
import ast

Also available in: Unified diff