Package zeroinstall :: Package injector :: Module policy
[frames] | no frames]

Source Code for Module zeroinstall.injector.policy

 1  """ 
 2  @deprecated: see L{driver} instead. 
 3  """ 
 4   
 5  # Copyright (C) 2009, Thomas Leonard 
 6  # See the README file for details, or visit http://0install.net. 
 7   
 8  from zeroinstall.injector.config import load_config 
 9   
10  _config = None 
11 -def get_deprecated_singleton_config():
12 """@rtype: L{zeroinstall.injector.config.Config}""" 13 global _config 14 if _config is None: 15 _config = load_config() 16 return _config
17