From c9fc50681f20dfb1c68c3af255cd64752b836fcb Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Mon, 6 Jan 2020 11:26:54 -0500 Subject: [PATCH] revert spurious whitespace changes --- src/_zkapauthorizer/_plugin.py | 1 + src/_zkapauthorizer/resource.py | 1 - src/_zkapauthorizer/tests/test_plugin.py | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/_zkapauthorizer/_plugin.py b/src/_zkapauthorizer/_plugin.py index 018c096..3b321c7 100644 --- a/src/_zkapauthorizer/_plugin.py +++ b/src/_zkapauthorizer/_plugin.py @@ -167,6 +167,7 @@ class ZKAPAuthorizer(object): get_passes, ) + def get_client_resource(self, node_config): from twisted.internet import reactor return resource_from_configuration( diff --git a/src/_zkapauthorizer/resource.py b/src/_zkapauthorizer/resource.py index fb85afa..fb7e61a 100644 --- a/src/_zkapauthorizer/resource.py +++ b/src/_zkapauthorizer/resource.py @@ -108,7 +108,6 @@ def from_configuration(node_config, store, redeemer=None): controller, ), ) - return root diff --git a/src/_zkapauthorizer/tests/test_plugin.py b/src/_zkapauthorizer/tests/test_plugin.py index 750f0b9..d49f008 100644 --- a/src/_zkapauthorizer/tests/test_plugin.py +++ b/src/_zkapauthorizer/tests/test_plugin.py @@ -124,6 +124,7 @@ from .matchers import ( Provides, ) + SIGNING_KEY_PATH = FilePath(__file__).sibling(u"testing-signing.key") -- GitLab