summaryrefslogtreecommitdiff
path: root/server/installable_object.py
diff options
context:
space:
mode:
Diffstat (limited to 'server/installable_object.py')
-rw-r--r--server/installable_object.py70
1 files changed, 35 insertions, 35 deletions
diff --git a/server/installable_object.py b/server/installable_object.py
index 04925956..3c61e05c 100644
--- a/server/installable_object.py
+++ b/server/installable_object.py
@@ -5,7 +5,7 @@
"""
This module defines the InstallableObject class
- InstallableObject: a software package that can be installed on a Host
+ InstallableObject: a software package that can be installed on a Host
"""
__author__ = """
@@ -19,37 +19,37 @@ import utils
class InstallableObject(object):
- """
- This class represents a software package that can be installed on
- a Host.
-
- Implementation details:
- This is an abstract class, leaf subclasses must implement the methods
- listed here. You must not instantiate this class but should
- instantiate one of those leaf subclasses.
- """
-
- source_material= None
-
- def __init__(self):
- super(InstallableObject, self).__init__()
-
-
- def get(self, location):
- """
- Get the source material required to install the object.
-
- Through the utils.get() function, the argument passed will be
- saved in a temporary location on the LocalHost. That location
- is saved in the source_material attribute.
-
- Args:
- location: the path to the source material. This path
- may be of any type that the utils.get()
- function will accept.
- """
- self.source_material= utils.get(location)
-
-
- def install(self, host):
- pass
+ """
+ This class represents a software package that can be installed on
+ a Host.
+
+ Implementation details:
+ This is an abstract class, leaf subclasses must implement the methods
+ listed here. You must not instantiate this class but should
+ instantiate one of those leaf subclasses.
+ """
+
+ source_material= None
+
+ def __init__(self):
+ super(InstallableObject, self).__init__()
+
+
+ def get(self, location):
+ """
+ Get the source material required to install the object.
+
+ Through the utils.get() function, the argument passed will be
+ saved in a temporary location on the LocalHost. That location
+ is saved in the source_material attribute.
+
+ Args:
+ location: the path to the source material. This path
+ may be of any type that the utils.get()
+ function will accept.
+ """
+ self.source_material= utils.get(location)
+
+
+ def install(self, host):
+ pass