NativeLib.py
changeset 1917 d51d14719392
parent 1881 091005ec69c4
child 3750 f62625418bff
--- a/NativeLib.py	Wed Jan 31 15:20:42 2018 +0100
+++ b/NativeLib.py	Wed Jan 31 15:22:43 2018 +0100
@@ -26,9 +26,7 @@
 
 from __future__ import absolute_import
 import util.paths as paths
-from POULibrary import POULibrary
+from POULibrary import SimplePOULibraryFactory
 
-
-class NativeLibrary(POULibrary):
-    def GetLibraryPath(self):
-        return paths.AbsNeighbourFile(__file__, "NativeLib.xml")
+NativeLibrary = SimplePOULibraryFactory(
+    paths.AbsNeighbourFile(__file__, "NativeLib.xml"))