Commit 1263773f authored by Florent Guillaume's avatar Florent Guillaume

Shut up deprecation warnings.

parent 1929d52f
...@@ -330,6 +330,14 @@ class PythonScript(Script, Historical, Cacheable): ...@@ -330,6 +330,14 @@ class PythonScript(Script, Historical, Cacheable):
if item is self: if item is self:
self._filepath = self.get_filepath() self._filepath = self.get_filepath()
def manage_beforeDelete(self, item, container):
# shut up deprecation warnings
pass
def manage_afterClone(self, item):
# shut up deprecation warnings
pass
def get_filepath(self): def get_filepath(self):
return self.meta_type + ':' + '/'.join(self.getPhysicalPath()) return self.meta_type + ':' + '/'.join(self.getPhysicalPath())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment