Searched refs:key_attr (Results 1 - 25 of 26) sorted by relevance

12

/pkg/src/util/publish/
H A Dpkgdiff.py249 if hasattr(a, "key_attr") and hasattr(b, "key_attr") and \
250 a.key_attr == b.key_attr:
251 res = misc.cmp(a.attrs[a.key_attr], b.attrs[b.key_attr])
355 attrval(old.attrs, old.key_attr),
357 for v in attrsames if v != old.key_attr))))
H A Dpkgfmt.py263 key_attr = a[0].key_attr
264 if key_attr and key_attr == b[0].key_attr:
290 a_sk = a[0].attrs[key_attr]
292 b_sk = b[0].attrs[key_attr]
384 if a[0] != act.key_attr:
/pkg/src/modules/actions/
H A D_common.c91 PyObject *key_attr = NULL; local
126 if ((key_aname = PyObject_GetAttrString(action, "key_attr")) == NULL)
134 if ((key_attr = PyDict_GetItem(attrs, key_aname)) == NULL) {
157 if (PyList_CheckExact(key_attr)) {
H A Dattribute.py44 key_attr = "name" variable in class:AttributeAction
H A Dlegacy.py48 key_attr = "pkg" variable in class:LegacyAction
H A Dlink.py50 key_attr = "path" variable in class:LinkAction
H A Dgroup.py52 key_attr = "groupname" variable in class:GroupAction
H A Ddepend.py108 key_attr = "fmri" variable in class:DependencyAction
407 if a[0] != act.key_attr:
H A Ddirectory.py46 key_attr = "path" variable in class:DirectoryAction
H A Dlicense.py53 key_attr = "license" variable in class:LicenseAction
H A Duser.py49 key_attr = "username" variable in class:UserAction
H A Dgeneric.py153 # 'key_attr' is the name of the attribute whose value must be unique in
155 # instance, a file's key_attr would be its pathname. Or a driver's
156 # key_attr would be the driver name. When 'key_attr' is None, it means
158 key_attr = None variable in class:Action
607 key_attr. So, the distinguished name might be
611 if self.key_attr is None:
614 self.name, self.attrs.get(self.key_attr, "???"))
H A Dfile.py65 key_attr = "path" variable in class:FileAction
H A Dsignature.py53 key_attr = "value" variable in class:SignatureAction
H A Ddriver.py49 key_attr = "name" variable in class:DriverAction
/pkg/src/modules/client/
H A Dpkgplan.py598 "{2}: {3}".format(dest.attrs.get(dest.key_attr,
614 "{2}: {3}".format(dest.attrs.get(dest.key_attr,
630 "{2}: {3}".format(src.attrs.get(src.key_attr,
H A Dimageplan.py2486 if ap and ap.src.attrs.get(ap.src.key_attr,
2501 if attrs.get(ap.dst.key_attr) != key:
2536 if not attrs.get(ap.src.key_attr) == key:
2600 d.setdefault(a.attrs[klass.key_attr],
2696 assert act.attrs[act.key_attr] == key
3090 attr_name = pkg.actions.types[name].key_attr
4355 hashify(attrs[ap.src.key_attr]))] = re
4452 keyval = hashify(ap.dst.attrs.get(ap.dst.key_attr, None))
4458 if keyval == ra.attrs[ra.key_attr]:
H A Dimage.py3117 act.attrs[act.key_attr], pfmri, act))
3120 act.attrs[act.key_attr], [])
3122 act.attrs[act.key_attr]].append((
3161 key = act.attrs[act.key_attr]
3313 actname, offset, cnt, key_attr = \
3316 actdict[(actname, key_attr)] = (off, int(cnt))
H A Dapi_errors.py770 kv = self._data[0][0].attrs[self._data[0][0].key_attr]
797 kv = self._data[0][0].attrs[self._data[0][0].key_attr]
828 keyattr = actions[0][0].attrs[actions[0][0].key_attr]
/pkg/src/modules/
H A Dapi_common.py231 deps.append(a.attrs.get(a.key_attr))
H A Dmanifest.py236 a.attrs[a.key_attr],
242 a.key_attr, id(a))))
304 key = set(a.attrlist(a.key_attr))
960 a.attrs.get(a.key_attr)
971 return a.name, a.attrs.get(a.key_attr, id(a))
1069 # So we could build up here the type/key_attr dictionaries like
H A Dmogrify.py386 attr = action.attrs.get(action.key_attr,
/pkg/src/modules/flavor/
H A Delf.py170 installed_path = action.attrs[action.key_attr]
/pkg/src/
H A Dclient.py121 default_attrs[atype] = [aclass.key_attr]
2750 return a.attrs.get(a.key_attr), a.name, match
2751 return match, a.name, a.attrs.get(a.key_attr)
2764 return action.attrs.get(action.key_attr)
/pkg/src/modules/publish/
H A Ddependencies.py1490 d[0].attrs.get(d[0].key_attr, id(d[0]))

Completed in 145 milliseconds

12