From 74c77d2be35f1455ae05453c1b253b823a5de90b Mon Sep 17 00:00:00 2001 From: xiaojieluo Date: Fri, 28 Jul 2017 13:26:24 +0800 Subject: [PATCH] add the _WORKING property and the working method --- devscripts/lazy_load_template.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/devscripts/lazy_load_template.py b/devscripts/lazy_load_template.py index c4e5fc1f4..aaae377fd 100644 --- a/devscripts/lazy_load_template.py +++ b/devscripts/lazy_load_template.py @@ -6,6 +6,11 @@ import re class LazyLoadExtractor(object): _module = None + _WORKING = True + + @classmethod + def working(cls): + return cls._WORKING @classmethod def ie_key(cls):