From: yomguy Date: Fri, 23 Nov 2007 00:00:55 +0000 (+0000) Subject: Add ZopeInstall class X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=2c6ffa78009c067aee9e097f5fe87b48641e6759;p=tools.git Add ZopeInstall class git-svn-id: http://svn.parisson.org/svn/tools/trunk@14 457c0346-1240-4656-8a5a-9edca8063506 --- 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...)"""