Func Timelimite ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there any time limit in Func ?
If there is a time limite, is there a way to increase the time limit
inside a module ?

Because I am trying the command:


------------------------------
def test(self,startingPackageNumber):
        import commands
        return list([ { package.split(" ")[0] : commands.getoutput("rpm
-V " + package.split(" ")[0]).split("\n") } for package in
self.inventory()[0:600] ])
------------------------------

When I use a list of 190 or less files it works fine, but after 200 it
begins to show the message "REMOTE_ERROR".

------------------------------
{'milton.ca': ['REMOTE_ERROR',
               'exceptions.TypeError',
               'test() takes exactly 2 arguments (1 given)',
               '  File
"/usr/lib/python2.5/site-packages/func/minion/server.py", line 136, in
__call__\n    rc = self.__method(*args)\n']}
------------------------------







-- 
----------------------------------------------------
[] ' s
Milton Paiva Neto
milton.paiva@xxxxxxxxx
mpaivaneto@xxxxxxxxxxxxxxxxxxx
http://miltonpaiva.wordpress.com/

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux