]> git.parisson.com Git - yomguy-tools.git/commitdiff
Add licence
authoryomguy <yomguy@457c0346-1240-4656-8a5a-9edca8063506>
Sat, 3 Nov 2007 17:24:50 +0000 (17:24 +0000)
committeryomguy <yomguy@457c0346-1240-4656-8a5a-9edca8063506>
Sat, 3 Nov 2007 17:24:50 +0000 (17:24 +0000)
git-svn-id: http://svn.parisson.org/svn/tools/trunk@3 457c0346-1240-4656-8a5a-9edca8063506

zope_instance.py

index ad3323bf984cbbdaccc16cdd9881ae1e3bb9f550..d60e72cd6e513fb01215ef69dcf49dbe56bd0743 100644 (file)
@@ -1,12 +1,24 @@
 #!/usr/bin/python
-# Backups zope instances
+# -*- coding: utf-8 -*-
+#
+# Copyright (c) 2007 Guillaume Pellerin <yomguy@parisson.com>
+# All rights reserved.
+#
+# This software is licensed as described in the file COPYING, which
+# you should have received as part of this distribution.
+#
+# Author: Guillaume Pellerin <yomguy@parisson.com>
+
 
 import os
 import sys
 from optparse import OptionParser
 
-class ZopeInstance:
 
+class ZopeInstance:
+    """Expose Zope instances to several python methods that simplifies admins' life
+    (backup, recover, import, etc...)"""
+    
     def __init__(self, version, instance, backup_dir):
         self.backup_dir = backup_dir
         self.versions = ['2.7', '2.9', '2.8', '2.10']