daemon/core/emane/emane.py
def valuestrtoparamlist(dom, name, value):
        ''' Helper to convert a parameter to a paramlist.
        Returns a an XML paramlist, or None if the value does not expand to
        multiple values.
        '''
        try:
            values = maketuplefromstr(value, str)
        except SyntaxError:
            return None
        if not hasattr(values, '__iter__'):
            return None
        if len(values) < 2:
            return None
        return addparamlisttoparent(dom, parent=None, name=name, values=values)
 Helper to convert a parameter to a paramlist.
        Returns a an XML paramlist, or None if the value does not expand to
        multiple values.
        
Helper to convert a parameter to a paramlist.
Returns a an XML paramlist, or None if the value does not expand to
multiple values.
Helper to convert a parameter to a paramlist . Returns a an XML paramlist or None if the value does not expand to multiple values .
def valuestrtoparamlist(dom, name, value):
        try:
            values = maketuplefromstr(value, str)
        except SyntaxError:
            return None
        if not hasattr(values, '__iter__'):
            return None
        if len(values) < 2:
            return None
        return addparamlisttoparent(dom, parent=None, name=name, values=values)
def valuestrtoparamlist ( dom , name , value ) : try : values = maketuplefromstr ( value , str ) except SyntaxError : return None if not hasattr ( values , '__iter__' ) : return None if len ( values ) < 2 : return None return addparamlisttoparent ( dom , parent = None , name = name , values = values )
Helper to convert a parameter to a paramlist.
Helper to convert a parameter to a paramlist .
''' Helper to convert a parameter to a paramlist.
        Returns a an XML paramlist, or None if the value does not expand to
        multiple values.
        '''
dom
name
value