Lines Matching refs:attr
76 attr, value = shlex.split(op[1])
82 newattr = substitute_values(attr, action, matches,
96 attr, value = shlex.split(op[1])
103 newattr = substitute_values(attr, action, matches,
149 attr, value = shlex.split(op[1])
156 newattr = substitute_values(attr, action, matches,
182 attr = args[0]
206 newattr = substitute_values(attr, action, matches,
250 attr = args[0]
261 val = attrval_as_list(action.attrs, attr)
272 action.attrs[attr] = new_val
274 del action.attrs[attr]
374 attr = pkg_attrs.get(attrname, d.get("notfound", None))
375 if attr and len(attr) == 1:
376 attr = attr[0]
379 attr = str(lineno)
381 attr = str(filename)
383 attr = getattr(action, "hash",
386 attr = action.attrs.get(action.key_attr,
389 attr = action.name
391 attr = action.attrs.get(attrname,
394 if attr is None:
412 if isinstance(attr, six.string_types):
414 d.get("prefix", "") + q(attr) + d.get("suffix", "")
419 for v in attr
501 for attr, match in six.iteritems(attrdict):
512 pos = s.find(qs.format(attr, match.pattern))