is_broker = config.getboolean(section_name, 'is_broker') except Exception, e: pass try: state = config.get(section_name, 'state') except Exception, e: pass e = User(id=config.getint(section_name, 'id'), username=config.get(section_name, 'username'), email=config.get(section_name, 'email'), broker_id=broker_id, broker_username=broker_username, password=password, country_code=config.get(section_name, 'country_code'), state=state, transaction_fee_buy=transaction_fee_buy, transaction_fee_sell=transaction_fee_sell, verified=verified, is_staff=is_staff, is_system=is_system, is_broker=is_broker) session.add(e) session.commit() if section_name[:6] == 'broker': if not Broker.get_broker(session, config.getint( section_name, 'id')): withdraw_structure_json = {} try: with open(config.get(section_name,