projects
/
snf-image-creator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add cleanup method that locks all user accounts
[snf-image-creator]
/
image_creator
/
os_type
/
__init__.py
diff --git
a/image_creator/os_type/__init__.py
b/image_creator/os_type/__init__.py
index
03ca4a7
..
2760903
100644
(file)
--- a/
image_creator/os_type/__init__.py
+++ b/
image_creator/os_type/__init__.py
@@
-42,10
+42,12
@@
def add_prefix(target):
return map(lambda x: prefix + x, target(self, *args))
return wrapper
+
def exclude_task(func):
func.excluded = True
return func
+
class OSBase(object):
"""Basic operating system class"""
def __init__(self, rootdev, ghandler):