Home | Trees | Indices | Help |
|
---|
|
1 #!/usr/bin/env python 2 # encoding: utf-8 3 4 # MAGnet MAnifest Management - Readout and create lists of magnets in yaml format. 5 # 6 # Copyright © 2008 Arne Babenhauserheide 7 # 8 # This program is free software: you can redistribute it and/or modify 9 # it under the terms of the GNU General Public License as published by 10 # the Free Software Foundation, either version 3 of the License, or 11 # (at your option) any later version. 12 # 13 # This program is distributed in the hope that it will be useful, 14 # but WITHOUT ANY WARRANTY; without even the implied warranty of 15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 # GNU General Public License for more details. 17 # 18 # You should have received a copy of the GNU General Public License 19 # along with this program. If not, see <http://www.gnu.org/licenses/> 20 21 22 """Features which should be available in the future, but aren't yet well tested. 23 24 New Features will first be implemented here and moved to the main part of the module as soon as they are ready (to give you a bit of shielding from the mistakes we're bound to make). 25 26 You shouldn't count on features from __feature__ to come into the present whatever happens. Some might just have been the wrong approach, and others might prove too bugprone or similar. 27 28 """ 29 30 all_feature_names = [] 31 32 # Import the classes we want to improve. 33 try: 34 from magma import Magma as CurrentMagma 35 except: 36 from magma_list import Magma as CurrentMagma 37 try: 38 from magma.magma_list import MagmaFile as CurrentMagmaFile 39 except: 40 from magma_list import MagmaFile as CurrentMagmaFile 41 42 43 # First subclass Magma, and initialize it. 44 # It is the main class, and most functionality should go here. 48 49 # Then also subclass MagmaFile, and initialize it. 53
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jan 7 11:36:57 2009 | http://epydoc.sourceforge.net |