[kernel] r10605 - people/waldi/dkt/lib/dkt/hooks

Bastian Blank waldi at alioth.debian.org
Tue Feb 19 17:41:50 UTC 2008


Author: waldi
Date: Tue Feb 19 17:41:49 2008
New Revision: 10605

Log:
lib/dkt/hooks/interfaces.py: Rename task methods.


Modified:
   people/waldi/dkt/lib/dkt/hooks/interfaces.py

Modified: people/waldi/dkt/lib/dkt/hooks/interfaces.py
==============================================================================
--- people/waldi/dkt/lib/dkt/hooks/interfaces.py	(original)
+++ people/waldi/dkt/lib/dkt/hooks/interfaces.py	Tue Feb 19 17:41:49 2008
@@ -33,29 +33,29 @@
         pass
 
 class IImageTask(IHookRunAll):
-    def preinst(self, systemconfig, imageconfig):
+    def image_preinst(self, systemconfig, imageconfig, maintainer_args):
         pass
 
-    def postinst(self, systemconfig, imageconfig):
+    def image_postinst(self, systemconfig, imageconfig, maintainer_args):
         pass
 
-    def prerm(self, systemconfig, imageconfig):
+    def image_prerm(self, systemconfig, imageconfig, maintainer_args):
         pass
 
-    def postrm(self, systemconfig, imageconfig):
+    def image_postrm(self, systemconfig, imageconfig, maintainer_args):
         pass
 
 class ISystemTask(IHookRunAll):
-    def preinst(self, systemconfig, imageconfigs):
+    def system_preinst(self, systemconfig, imageconfigs):
         pass
 
-    def postinst(self, systemconfig, imageconfigs):
+    def system_postinst(self, systemconfig, imageconfigs):
         pass
 
-    def prerm(self, systemconfig, imageconfigs):
+    def system_prerm(self, systemconfig, imageconfigs):
         pass
 
-    def postrm(self, systemconfig, imageconfigs):
+    def system_postrm(self, systemconfig, imageconfigs):
         pass
 
 



More information about the Kernel-svn-changes mailing list