From 0c29cf2df41600d3906d521c72991c7686018b71 Mon Sep 17 00:00:00 2001 From: Michael Merickel <michael@merickel.org> Date: Mon, 15 Oct 2018 16:24:07 +0200 Subject: [PATCH] format source using black --- src/pyramid/location.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/pyramid/location.py b/src/pyramid/location.py index 4124895..b8542d1 100644 --- a/src/pyramid/location.py +++ b/src/pyramid/location.py @@ -12,6 +12,7 @@ # ############################################################################## + def inside(resource1, resource2): """Is ``resource1`` 'inside' ``resource2``? Return ``True`` if so, else ``False``. @@ -27,6 +28,7 @@ resource1 = resource1.__parent__ return False + def lineage(resource): """ @@ -63,4 +65,3 @@ resource = resource.__parent__ except AttributeError: resource = None - -- Gitblit v1.9.3