diff options
author | 2007-04-27 20:26:01 +0000 | |
---|---|---|
committer | 2007-04-27 20:26:01 +0000 | |
commit | 51fe25201949667ea02aa9ec8424c70e7f825371 (patch) | |
tree | c74f2b7d921bec1d8914e21bb374412b0fc29eb0 | |
parent | Category support and a root fix. (diff) | |
download | webapp-config-51fe25201949667ea02aa9ec8424c70e7f825371.tar.gz webapp-config-51fe25201949667ea02aa9ec8424c70e7f825371.tar.bz2 webapp-config-51fe25201949667ea02aa9ec8424c70e7f825371.zip |
Header and doctests.
svn path=/trunk/webapp-config/; revision=31
-rw-r--r-- | WebappConfig/worker.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/WebappConfig/worker.py b/WebappConfig/worker.py index b98a810..e73bce3 100644 --- a/WebappConfig/worker.py +++ b/WebappConfig/worker.py @@ -6,12 +6,12 @@ # # Originally written for the Gentoo Linux distribution # -# Copyright (c) 1999-2006 Gentoo Foundation +# Copyright (c) 1999-2007 Authors # Released under v2 of the GNU GPL # -# Author(s) Stuart Herbert <stuart@gentoo.org> +# Author(s) Stuart Herbert # Renat Lumpau <rl03@gentoo.org> -# Gunnar Wrobel <php@gunnarwrobel.de> +# Gunnar Wrobel <wrobel@gentoo.org> # # ======================================================================== ''' This module provides the classes for actually adding or removing @@ -191,13 +191,13 @@ class WebappAdd: The handler for protected files is simple: >>> import WebappConfig.protect - >>> c = WebappConfig.protect.Protection() + >>> c = WebappConfig.protect.Protection('','horde','3.0.5','portage') And finally a fully initialized source is needed: >>> from WebappConfig.db import WebappSource - >>> d = WebappSource(here + '/tests/testfiles/share-webapps', - ... 'installtest', '1.0') + >>> d = WebappSource(root=here + '/tests/testfiles/share-webapps', + ... category='', package='installtest', version='1.0') >>> d.read() >>> d.ignore = ['.svn'] |