]> git.parisson.com Git - tools.git/commitdiff
Add ZopeInstall class
authoryomguy <yomguy@457c0346-1240-4656-8a5a-9edca8063506>
Fri, 23 Nov 2007 00:00:55 +0000 (00:00 +0000)
committeryomguy <yomguy@457c0346-1240-4656-8a5a-9edca8063506>
Fri, 23 Nov 2007 00:00:55 +0000 (00:00 +0000)
git-svn-id: http://svn.parisson.org/svn/tools/trunk@14 457c0346-1240-4656-8a5a-9edca8063506

zope_instance.py

index dd5168bf032a919cfe101cffa69b65f64e497fbe..798e60ecd668ca7998fdf1d7b238f2aa67390a25 100644 (file)
@@ -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...)"""