~ubuntu-branches/ubuntu/hardy/libapache2-mod-python/hardy

« back to all changes in this revision

Viewing changes to test/httpdconf.py

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski, Piotr Ozarowski
  • Date: 2006-10-12 17:14:47 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20061012171447-ji7e0w38nl37kknp
Tags: 3.2.10-2
[ Piotr Ozarowski ]
* Dependencies updated:
  + replaced apache2-common with apache2.2-common (closes: #391790)
  + bumped apache2-threaded-dev version (see above),
  + bumped python-central version (dh_python removed from debian/rules),
  + bumped debhelper version (see above),
  + added po-debconf to Build-Depends (lintian error).
* Removed deprecated dh_installmanpages from debian/rules
  (there are no manpages to install).
* Updated Dutch debconf translation from Vincent Zweije. (closes: #388834)
* Updated Czech debconf translation from Miroslav Kure. (closes: #384752)
* Updated Japanese debconf translation from Hideki Yamane. (closes: #391811)

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 # implied.  See the License for the specific language governing
14
14
 # permissions and limitations under the License.
15
15
 #
16
 
 # $Id: httpdconf.py 280650 2005-09-13 20:35:57Z nlehuen $
 
16
 # $Id: httpdconf.py 383365 2006-03-05 18:40:22Z jgallacher $
17
17
 #
18
18
 # Config maker, a la HTMLGen. This could grow into something useful.
19
19
 #
37
37
class Container:
38
38
    
39
39
    def __init__(self, *args):
40
 
        self.args = args
 
40
        self.args = list(args)
41
41
        self.indent = 0
 
42
    
 
43
    def append(self, value):
 
44
        self.args.append(value)
42
45
 
43
46
    def __str__(self):
44
47
 
80
83
    def __init__(self, val):
81
84
        Directive.__init__(self, self.__class__.__name__, val)
82
85
 
 
86
class AuthBasicAuthoritative(Directive):
 
87
    # New in Apache 2.2
 
88
    def __init__(self, val):
 
89
        Directive.__init__(self, self.__class__.__name__, val)
 
90
 
 
91
class AuthBasicProvider(Directive):
 
92
    # New in Apache 2.2
 
93
    def __init__(self, val):
 
94
        Directive.__init__(self, self.__class__.__name__, val)
 
95
 
83
96
class AuthType(Directive):
84
97
    def __init__(self, val):
85
98
        Directive.__init__(self, self.__class__.__name__, val)
112
125
    def __init__(self, dir, *args):
113
126
        ContainerTag.__init__(self, self.__class__.__name__, dir, args)
114
127
 
 
128
class KeepAliveTimeout(Directive):
 
129
    def __init__(self, val):
 
130
        Directive.__init__(self, self.__class__.__name__, val)
 
131
 
115
132
class Listen(Directive):
116
133
    def __init__(self, val):
117
134
        Directive.__init__(self, self.__class__.__name__, val)