Ignore:
Timestamp:
May 5, 2017, 2:50:57 PM (2 years ago)
Author:
hectorgh
Message:

adding allow_none to xmlrpc client

Location:
n4d-client-exe-consumer/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • n4d-client-exe-consumer/trunk/fuentes/debian/changelog

    r952 r4612  
     1n4d-client-exe-consumer (0.4.2) xenial; urgency=high
     2
     3  * Adding allow_none to xmlrpc client
     4
     5 -- Hector Garcia Huerta <hectorgh@gmail.com>  Fri, 05 May 2017 14:50:15 +0200
     6
    17n4d-client-exe-consumer (0.4.1) xenial; urgency=high
    28
  • n4d-client-exe-consumer/trunk/fuentes/install-files/usr/share/n4d/python-plugins/ClientExeConsumer.py

    r951 r4612  
    7474
    7575                        if srv!=None and type(srv)==type(""):
    76                                 c=xmlrpclib.ServerProxy("https://"+srv+":9779")
     76                                c=xmlrpclib.ServerProxy("https://"+srv+":9779",allow_none=True)
    7777                                ret=c.get_available_oneshots("","ClientExeManager",self.md5_log)
    7878                                if type(ret)==type([]):
     
    196196                        srv="server"
    197197               
    198                 c=xmlrpclib.ServerProxy("https://%s:9779"%srv)
     198                c=xmlrpclib.ServerProxy("https://%s:9779"%srv,allow_none=True)
    199199                ret=c.get_boot_scripts("","ClientExeManager",mac)
    200200
Note: See TracChangeset for help on using the changeset viewer.