(self, k, v)
Add single value to key.
Add single value to key.
Add single value to key .
def add_value(self, k, v):
        """Add single value to key."""

        xk = k.lower().strip()
        if xk not in META_KEYS:
            raise ExecAttrsException("Invalid key: %s" % k)
        if xk not in self.attrs:
            self.attrs[xk] = []

        xv = v.strip()
        self.attrs[xk].append(xv)
def add_value ( self , k , v ) : xk = k . lower ( ) . strip ( ) if xk not in META_KEYS : raise ExecAttrsException ( "Invalid key: %s" % k ) if xk not in self . attrs : self . attrs [ xk ] = [ ] xv = v . strip ( ) self . attrs [ xk ] . append ( xv )