[web/webconfig] Drop pre-3.9 backward compatibility method "has_resource"
authorRémi Cardona <remi.cardona@logilab.fr>
Fri, 03 Jul 2015 12:20:48 +0200
changeset 10506 774bf00ae3bb
parent 10505 a9becf2cce8b
child 10507 d54a942ee6da
[web/webconfig] Drop pre-3.9 backward compatibility method "has_resource"
web/webconfig.py
--- a/web/webconfig.py	Fri Jul 03 12:07:44 2015 +0200
+++ b/web/webconfig.py	Fri Jul 03 12:20:48 2015 +0200
@@ -482,8 +482,3 @@
     def static_file_del(self, rpath):
         if self.static_file_exists(rpath):
             os.remove(join(self.static_directory, rpath))
-
-    @deprecated('[3.9] use _cw.uiprops.get(rid)')
-    def has_resource(self, rid):
-        """return true if an external resource is defined"""
-        return bool(self.uiprops.get(rid))