Lines Matching refs:attrs

129                                 if attr not in action.attrs:
137 action.attrs[k] = list(v)
139 action.attrs[k] = v
141 p = action.attrs[attr]
308 p = action.attrs.get(attr, None)
361 if key in a.attrs:
362 val = a.attrs[key]
396 "Duplicated reference counted actions should have the same attrs.")
425 if attr_name not in action.attrs:
431 name = action.attrs[attr_name]
444 "mediator" in a.attrs:
501 if "path" not in action.attrs:
504 p = action.attrs["path"]
521 "mediator" in a.attrs:
586 p = action.attrs.get("path", None)
596 ref_mediator = action.attrs.get("mediator", None)
608 mediator = action.attrs.get("mediator", None)
757 path = actions[0].attrs["path"]
771 for key in action_copy.attrs.keys():
777 del action_copy.attrs[key]
798 overlay_attr = action.attrs.get("overlay", None)
800 if not action.attrs.get("preserve", None):
828 """return a dictionary containing only attrs that must
830 attrs = {}
834 attrs[key] = action.attrs.get(key, None)
835 return attrs
944 if "path" not in action.attrs:
946 path = action.attrs["path"]
1033 for key in action.attrs.keys():
1053 name = action.attrs["name"]
1091 if "mode" in action.attrs:
1092 mode = action.attrs["mode"]
1093 path = action.attrs["path"]
1170 if required not in action.attrs:
1179 if "pkg" in action.attrs:
1181 legacy = engine.get_manifest(action.attrs["pkg"],
1189 if "version" in action.attrs:
1191 if "REV=" not in action.attrs["version"]:
1223 mf = engine.follow_renames(action.attrs["pkg"],
1286 if action.attrs["type"] != "require":
1297 dep_fmri = action.attrs["fmri"]
1387 if "fmri" not in action.attrs:
1389 fmris = action.attrs["fmri"]
1414 if action.name is "license" and "path" in action.attrs:
1419 path=action.attrs["path"]),
1431 linted_attrs = [(key, action.attrs[key])
1432 for key in sorted(action.attrs.keys())
1473 username = action.attrs["username"]
1515 if action.attrs.get("type") != "incorporate":
1518 fmri = action.attrs["fmri"]
1534 for key in action.attrs.keys():
1536 value = action.attrs[key].lower()
1561 if not "name" in action.attrs or \
1562 not action.attrs["name"].startswith(start_pattern):
1565 if not action.attrs["name"] in supported_actuators:
1569 attr=action.attrs["name"],
1574 if action.attrs["name"] == \
1588 if action.attrs["name"] == \
1622 if "elfbits" not in action.attrs:
1624 elfbits = action.attrs["elfbits"]
1629 path = action.attrs["path"]
1649 fmri=manifest.fmri, path=action.attrs["path"]),