Subversion Repositories SmartDukaan

Rev

Rev 23683 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23671 govind 1
'''
23681 govind 2
Created on 25-Mar-2010
23671 govind 3
 
23681 govind 4
@author: ashish
23671 govind 5
'''
23714 amit.gupta 6
 
7
import traceback
8
 
23680 govind 9
from shop2020.config.client.ConfigClient import ConfigClient
23671 govind 10
 
11
if __name__ == '__main__':
23681 govind 12
    try:
13
        config_client = ConfigClient()
23683 govind 14
        print config_client.get_property("live")
23681 govind 15
    except:
23714 amit.gupta 16
        traceback.print_exc()
17
        print "error while putting up config client"