Trees | Indices | Help |
---|
|
1 # 2 # Copyright (c) 2011 Red Hat, Inc. 3 # 4 # This software is licensed to you under the GNU Lesser General Public 5 # License as published by the Free Software Foundation; either version 6 # 2 of the License (LGPLv2) or (at your option) any later version. 7 # There is NO WARRANTY for this software, express or implied, 8 # including the implied warranties of MERCHANTABILITY, 9 # NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should 10 # have received a copy of LGPLv2 along with this software; if not, see 11 # http://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt. 12 # 13 # Jeff Ortel <jortel@redhat.com> 14 # 15 16 from threading import RLock 17 from gofer import Singleton, synchronized21 """ 22 Provides a dict-like object used to publish 23 information to other plugins. 24 """ 25 26 __metaclass__ = Singleton 27 31 32 @synchronized 35 36 @synchronized5538 self.__dict.update(d)39 40 @synchronized42 return self.__dict[name]43 44 @synchronized46 self.__dict[name] = value47 48 @synchronized 51 52 @synchronized
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu May 2 09:10:29 2013 | http://epydoc.sourceforge.net |