mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-19 05:44:12 +01:00
python: fix check-python errors in plugins
Fixes some lint errors with unused variables: contrib/plugins/fail/failtimeout.py:48:5: F841 local variable 'e' is assigned to but never used contrib/plugins/helloworld.py:86:5: F841 local variable 'e' is assigned to but never used Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
parent
2834053457
commit
db9e250df8
@ -45,7 +45,7 @@ for l in sys.stdin:
|
||||
"result": result,
|
||||
"id": request['id']
|
||||
}
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
result = {
|
||||
"jsonrpc": "2.0",
|
||||
"error": "Error while processing {}".format(request['method']),
|
||||
|
@ -83,7 +83,7 @@ for l in sys.stdin:
|
||||
"result": result,
|
||||
"id": request['id']
|
||||
}
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
result = {
|
||||
"jsonrpc": "2.0",
|
||||
"error": "Error while processing {}".format(request['method']),
|
||||
|
Loading…
Reference in New Issue
Block a user