summaryrefslogtreecommitdiffstats
path: root/cobbler/item.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-05-05 16:32:16 -0400
committerJim Meyering <jim@meyering.net>2006-05-05 16:32:16 -0400
commit297525dcb3c500d086bb4a5006a5839d98f8522b (patch)
tree9b2fc55d3c63df1e9c0928105c5b848882f52c95 /cobbler/item.py
parent036eb874ffbaf70236427ebe7c10fb883706e291 (diff)
downloadthird_party-cobbler-297525dcb3c500d086bb4a5006a5839d98f8522b.tar.gz
third_party-cobbler-297525dcb3c500d086bb4a5006a5839d98f8522b.tar.xz
third_party-cobbler-297525dcb3c500d086bb4a5006a5839d98f8522b.zip
Interim refactoring commit
Diffstat (limited to 'cobbler/item.py')
-rw-r--r--cobbler/item.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/cobbler/item.py b/cobbler/item.py
index e30ada5..0d43d9f 100644
--- a/cobbler/item.py
+++ b/cobbler/item.py
@@ -3,6 +3,12 @@ An Item is a serializable thing that can appear in a Collection
"""
class Item:
+ """
+ constructor must be of format:
+ def __init__(self,seed_data)
+ where seed_data is a hash of argument_name/value pairs
+ see profile.py for example
+ """
def set_name(self,name):
"""
@@ -35,3 +41,5 @@ class Item:
items been set, are they free of conflicts, etc.
"""
return False
+
+