[PATCH 36 of 52 Narval cube] [autopep8] E306 - Expected 1 blank line before a nested definition

Nsukami Patrick ptrck at nskm.xyz
Wed Apr 1 11:34:36 CEST 2020


# HG changeset patch
# User Nsukami Patrick <ptrck at nskm dot xyz>
# Date 1585460435 0
#      Sun Mar 29 05:40:35 2020 +0000
# Node ID 2dfb01b43b6924477a94c0fe86b4c0fc7fb9a2b4
# Parent  b03663f558351160ac6f59127f42c0d6c1e31feb
[autopep8] E306 - Expected 1 blank line before a nested definition

diff --git a/cubicweb_narval/hooks.py b/cubicweb_narval/hooks.py
--- a/cubicweb_narval/hooks.py
+++ b/cubicweb_narval/hooks.py
@@ -36,6 +36,7 @@
         if not cleanupdelay:
             return  # no auto cleanup
         cleanupinterval = min(60 * 60 * 24, cleanupdelay)
+
         def cleanup_plans(repo, delay=timedelta(seconds=cleanupdelay),
                           now=datetime.now):
             session = repo.internal_session()




More information about the cubicweb-devel mailing list