depend actions need to have a key_attr so we can diff them
authorDan Price <dp@eng.sun.com>
Tue, 30 Oct 2007 21:32:06 -0700
changeset 180 1f2f625cd98a
parent 179 7c527f0cf03d
child 181 40d571fa6ebc
depend actions need to have a key_attr so we can diff them
src/modules/actions/depend.py
--- a/src/modules/actions/depend.py	Tue Oct 30 21:31:21 2007 -0700
+++ b/src/modules/actions/depend.py	Tue Oct 30 21:32:06 2007 -0700
@@ -47,6 +47,7 @@
 
         name = "depend"
         attributes = ("type", "fmri")
+        key_attr = "fmri"
 
         def __init__(self, data=None, **attrs):
                 generic.Action.__init__(self, data, **attrs)