J'en appele au fan de python !
Pour ce code :
____#@-node:__init__
____#@+node:main
____def main(self):
________d = {"mountpoint": self.mountpoint}
________d["multithreaded"] = self.multithreaded
________if hasattr( self, "debug"):
________________d["lopts"] = "debug";
________d["kopts"] = "allow_other,kernel_cache";
________for a in self._attrs:
________________if hasattr(self,a):
________________________d[a] = ErrnoWrapper(getattr(self, a))
________apply(main, (), d)
____#@-node:main
____#@-others
J'ai le message : "TypeError: 'mountpoint' is an invalid keyword argument for this function" !
à la ligne : "apply(main, (), d)"
-------------------------------------------------------------------------------------------------
Linux est pour la firme de Redmond ce qu'est James Bond pour les
méchants dans les films : le dernier obstacle avant la domination mondiale.
Poste le Sunday 10 April 2005 18:11:42