From: yomguy Date: Sat, 3 Nov 2007 17:24:50 +0000 (+0000) Subject: Add licence X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=72ddeb6f415da9325fc18813431cbfcbb8627cc4;p=tools.git Add licence git-svn-id: http://svn.parisson.org/svn/tools/trunk@3 457c0346-1240-4656-8a5a-9edca8063506 --- diff --git a/zope_instance.py b/zope_instance.py index ad3323b..d60e72c 100644 --- a/zope_instance.py +++ b/zope_instance.py @@ -1,12 +1,24 @@ #!/usr/bin/python -# Backups zope instances +# -*- coding: utf-8 -*- +# +# Copyright (c) 2007 Guillaume Pellerin +# 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 + 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']