|
718 |
object.options=parsed_options |
718 |
object.options=parsed_options |
719 |
|
719 |
|
720 |
object.open() |
720 |
object.open() |
721 |
if hasattr(object,' open_warning') and object.open_warning: |
|
|
722 |
out.append('WAR NING:%s'%object.open_warning) |
723 |
exists=0 |
721 |
exists=0 |
724 |
try: |
722 |
try: |
725 |
out.extend(object_input(module, object, input, append=append)) |
723 |
out.extend(object_input(module, object, input, append=append)) |
|
840 |
return out + ["OPERATION FAILED"] |
838 |
return out + ["OPERATION FAILED"] |
841 |
|
839 |
|
842 |
object.open() |
840 |
object.open() |
843 |
if hasattr(object,'open_warning') and object.open_warning: |
|
|
844 |
out.append('WARNING:%s'%object.open_warning) |
845 |
|
841 |
|
846 |
if action == 'move': |
842 |
if action == 'move': |
847 |
if hasattr(module,'operations') and module.operations: |
843 |
if hasattr(module,'operations') and module.operations: |
|
961 |
return out + ["OPERATION FAILED"] |
957 |
return out + ["OPERATION FAILED"] |
962 |
|
958 |
|
963 |
object.open() |
959 |
object.open() |
964 |
if hasattr(object,'open_warning') and object.open_warning: |
|
|
965 |
out.append('WARNING:%s'%object.open_warning) |
966 |
|
960 |
|
967 |
if remove_referring and univention.admin.objects.wantsCleanup(object): |
961 |
if remove_referring and univention.admin.objects.wantsCleanup(object): |
968 |
univention.admin.objects.performCleanup(object) |
962 |
univention.admin.objects.performCleanup(object) |
|
997 |
|
991 |
|
998 |
if (hasattr(module,'virtual') and not module.virtual) or not hasattr(module,'virtual'): |
992 |
if (hasattr(module,'virtual') and not module.virtual) or not hasattr(module,'virtual'): |
999 |
object.open() |
993 |
object.open() |
1000 |
if hasattr(object,'open_warning') and object.open_warning: |
|
|
1001 |
out.append('WARNING: %s'%object.open_warning) |
1002 |
for key, value in object.items(): |
994 |
for key, value in object.items(): |
1003 |
if key == 'sambaLogonHours': |
995 |
if key == 'sambaLogonHours': |
1004 |
# returns a list, which breaks things here |
996 |
# returns a list, which breaks things here |