comparison frontends/src/quick_frontend/constants.py @ 736:6246eb6d64a0

frontends: define the constants with classes and inheritance instance of using __builtin__
author souliane <souliane@mailoo.org>
date Sat, 23 Nov 2013 10:21:40 +0100
parents 84a6e83157c2
children 1fe00f0c9a91
comparison
equal deleted inserted replaced
735:682933ca304c 736:6246eb6d64a0
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU Affero General Public License for more details. 15 # GNU Affero General Public License for more details.
16 16
17 # You should have received a copy of the GNU Affero General Public License 17 # You should have received a copy of the GNU Affero General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. 18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 import __builtin__
20 19
21 __builtin__.__dict__['const_PRIVATE_PREFIX'] = "@PRIVATE@" 20 from sat_frontends import constants
21
22
23 class Const(constants.Const):
24
25 PRIVATE_PREFIX = "@PRIVATE@"