remove superflous pass statements

Issue #405 resolved
Reimar Bauer created an issue

we have some places where we have still not needed pass statements

except (KeyError, ValueError) as error:

logging.debug("KeyError, ValueError Exception %s", error)

pass

and others where we would need a logging.debug instead

except ValueError:

pass

Carefully review the code and refactor this.

Comments (4)

  1. Reimar Bauer reporter
    • edited description

    we have some places where have still not needed pass statements

    except (KeyError, ValueError) as error:

    logging.debug("KeyError, ValueError Exception %s", error)

    pass

    and others where we would need a logging.debug instead

    except ValueError:

    pass

    Carefully review the code and refactor this.

  2. Reimar Bauer reporter
    • changed milestone to 1.8.0

    we have some places where we have still not needed pass statements

    except (KeyError, ValueError) as error:

    logging.debug("KeyError, ValueError Exception %s", error)

    pass

    and others where we would need a logging.debug instead

    except ValueError:

    pass

    Carefully review the code and refactor this.

  3. Reimar Bauer reporter

    we have some places where we have still not needed pass statements

    except (KeyError, ValueError) as error:

    logging.debug("KeyError, ValueError Exception %s", error)

    pass

    and others where we would need a logging.debug instead

    except ValueError:

    pass

    Carefully review the code and refactor this.

  4. Log in to comment