From 2c6ffa78009c067aee9e097f5fe87b48641e6759 Mon Sep 17 00:00:00 2001 From: yomguy Date: Fri, 23 Nov 2007 00:00:55 +0000 Subject: [PATCH] Add ZopeInstall class git-svn-id: http://svn.parisson.org/svn/tools/trunk@14 457c0346-1240-4656-8a5a-9edca8063506 --- zope_instance.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/zope_instance.py b/zope_instance.py index dd5168b..798e60e 100644 --- a/zope_instance.py +++ b/zope_instance.py @@ -28,7 +28,17 @@ import sys from optparse import OptionParser -class ZopeInstance: +class ZopeInstall: + """This give the main parameters of the Zope installations respectively to the + distribution used""" + + def __init__(self): + self.versions = ['2.7', '2.9', '2.8', '2.10'] + self.instance_main_dir = '/var/lib' + self.zope_main_dir = '/usr/lib' + + +class ZopeInstance(ZopeInstall): """Expose Zope instances to several python methods that simplifies admins' life (backup, recover, import, etc...)""" -- 2.39.5