Revision b8028dcf lib/rapi/__init__.py

b/lib/rapi/__init__.py
1 1
#
2 2
#
3 3

  
4
# Copyright (C) 2007, 2008 Google Inc.
4
# Copyright (C) 2007, 2008, 2012 Google Inc.
5 5
#
6 6
# This program is free software; you can redistribute it and/or modify
7 7
# it under the terms of the GNU General Public License as published by
......
20 20

  
21 21
"""Ganeti RAPI module"""
22 22

  
23
from ganeti import compat
24

  
25

  
23 26
RAPI_ACCESS_WRITE = "write"
24 27
RAPI_ACCESS_READ = "read"
25 28

  
26
RAPI_ACCESS_ALL = frozenset([
29
RAPI_ACCESS_ALL = compat.UniqueFrozenset([
27 30
  RAPI_ACCESS_WRITE,
28 31
  RAPI_ACCESS_READ,
29 32
  ])

Also available in: Unified diff