# HG changeset patch # User RĂ©mi Cardona # Date 1435918848 -7200 # Node ID 774bf00ae3bb2d516cec6c282bfcb90513d2e829 # Parent a9becf2cce8bd6bfd0e628a88616852b1a1df343 [web/webconfig] Drop pre-3.9 backward compatibility method "has_resource" diff -r a9becf2cce8b -r 774bf00ae3bb 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))