From 3937ee93332912ad1c1636d75a6bad3924eb3c4c Mon Sep 17 00:00:00 2001 From: SabineHaas Date: Mon, 12 Aug 2024 11:12:47 +0200 Subject: [PATCH] Delete pass statement --- src/oemof/tabular/facades/commodity_ghg.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/oemof/tabular/facades/commodity_ghg.py b/src/oemof/tabular/facades/commodity_ghg.py index 8626281..5f4c353 100644 --- a/src/oemof/tabular/facades/commodity_ghg.py +++ b/src/oemof/tabular/facades/commodity_ghg.py @@ -191,7 +191,6 @@ def _emission_relation(block): rhs = m.flow[n, o, p, t] block.relation.add((n, o, p, t), (lhs == rhs)) except KeyError: - pass raise KeyError( "Error in constraint creation", "source: {0}, target: {1}".format(