Fix decorator in VersionPlistCommandDependency
[swc-setup-installation-test.git] / swc-installation-test-2.py
index 54e525014c9559155dfef87d938255e57c927195..053bab645c20783bd1a4e4a4fbc17a321e518402 100755 (executable)
@@ -504,11 +504,11 @@ class VersionPlistCommandDependency (CommandDependency):
                 return node
         raise ValueError((root, element))
 
-    @staticmethod
-    def _get_next(root, element):
+    @classmethod
+    def _get_next(cls, root, element):
         """Returns the following sibling of this element or None
         """
-        parent = self._get_parent(root=root, element=element)
+        parent = cls._get_parent(root=root, element=element)
         siblings = iter(parent)
         for node in siblings:
             if node == element: