Module EDConfigurationStatic
[hide private]
[frames] | no frames]

Source Code for Module EDConfigurationStatic

 1  # coding: utf8 
 2  # 
 3  #    Project: The EDNA Kernel 
 4  #             http://www.edna-site.org 
 5  # 
 6  #    Copyright (C) 2008-2012 European Synchrotron Radiation Facility 
 7  #                            Grenoble, France 
 8  # 
 9  #    Principal authors:    Olof Svensson (svensson@esrf.fr)  
10  # 
11  #    This program is free software: you can redistribute it and/or modify 
12  #    it under the terms of the GNU Lesser General Public License as published 
13  #    by the Free Software Foundation, either version 3 of the License, or 
14  #    (at your option) any later version. 
15  # 
16  #    This program is distributed in the hope that it will be useful, 
17  #    but WITHOUT ANY WARRANTY; without even the implied warranty of 
18  #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
19  #    GNU Lesser General Public License for more details. 
20  # 
21  #    You should have received a copy of the GNU General Public License 
22  #    and the GNU Lesser General Public License  along with this program.   
23  #    If not, see <http://www.gnu.org/licenses/>. 
24  # 
25   
26  """Static EDNA configuration""" 
27   
28  from EDConfiguration import EDConfiguration 
29   
30 -class EDConfigurationStatic(EDConfiguration):
31
32 - def __call__(self):
33 return self
34 35 EDConfigurationStatic = EDConfigurationStatic() 36