Exemple #1
0
def main():
    " Go, go, go! "
    try:
        return dispatch() or 0
    except PBException as ex:
        return 1
    except KeyboardInterrupt:
        pass
    return 0
Exemple #2
0
def main():
    " Go, go, go! "
    try:
        return dispatch() or 0
    except PBException as ex:
        from pybombs import pb_logging
        if pb_logging.logger.getEffectiveLevel() <= pb_logging.DEBUG:
            pb_logging.logger.debug(str(ex))
        return 1
    except KeyboardInterrupt:
        pass
    return 0
Exemple #3
0
def main():
    " Go, go, go! "
    try:
        return dispatch() or 0
    except KeyboardInterrupt:
        pass
Exemple #4
0
def main():
    " Go, go, go! "
    try:
        return dispatch() or 0
    except KeyboardInterrupt:
        pass