Code cleanup: remove unused stuff, take 1.

This commit is contained in:
Pavel Zuna
2010-02-25 14:19:56 +01:00
committed by Rob Crittenden
parent 9873ec1ca3
commit 41312ca166
13 changed files with 12 additions and 245 deletions

View File

@@ -100,9 +100,6 @@ class automountlocation(LDAPObject):
object_name_plural = 'automount locations'
object_class = ['nscontainer']
default_attributes = ['cn']
attribute_names = {
'cn': 'name',
}
takes_params = (
Str('cn',
@@ -220,9 +217,6 @@ class automountmap(LDAPObject):
object_name_plural = 'automount maps'
object_class = ['automountmap']
default_attributes = ['automountmapname', 'description']
attribute_names = {
'automountmapname': 'name',
}
takes_params = (
Str('automountmapname',
@@ -305,11 +299,6 @@ class automountkey(LDAPObject):
default_attributes = [
'automountkey', 'automountinformation', 'description'
]
attribute_names = {
'automountkey': 'key',
'automountinformation': 'mount information',
}
attribute_order = ['automountkey', 'automountinformation']
takes_params = (
Str('automountkey',