From 54007a45f11ed730352324289b714baefd2901eb Mon Sep 17 00:00:00 2001 From: pukkandan Date: Fri, 24 Jun 2022 16:36:16 +0530 Subject: [cleanup] Consistent style for file heads --- devscripts/make_lazy_extractors.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'devscripts/make_lazy_extractors.py') diff --git a/devscripts/make_lazy_extractors.py b/devscripts/make_lazy_extractors.py index 39d4646d0..785d66a6a 100644 --- a/devscripts/make_lazy_extractors.py +++ b/devscripts/make_lazy_extractors.py @@ -1,12 +1,15 @@ #!/usr/bin/env python3 -import optparse + +# Allow direct execution import os import sys -from inspect import getsource sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) +import optparse +from inspect import getsource + NO_ATTR = object() STATIC_CLASS_PROPERTIES = ['IE_NAME', 'IE_DESC', 'SEARCH_KEY', '_WORKING', '_NETRC_MACHINE', 'age_limit'] CLASS_METHODS = [ -- cgit v1.2.3