def getchangedsrc(conffile): try: commands = Commands(conffile) getchangedsrc_side(commands, CLIENT) getchangedsrc_side(commands, SERVER) except Exception: # pylint: disable-msg=W0703 logging.exception('FATAL ERROR') sys.exit(1)
def getchangedsrc(conffile): try: commands = Commands(conffile) getchangedsrc_side(commands, CLIENT) getchangedsrc_side(commands, SERVER) except Exception: # pylint: disable-msg=W0703 logging.exception("FATAL ERROR") sys.exit(1)
def getchangedsrc(conffile, only_client, only_server): try: commands = Commands(conffile) # client or server process_client = True process_server = True if only_client and not only_server: process_server = False if only_server and not only_client: process_client = False if process_client: getchangedsrc_side(commands, CLIENT) if process_server: getchangedsrc_side(commands, SERVER) except Exception: # pylint: disable-msg=W0703 logging.exception('FATAL ERROR') sys.exit(1)