summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/SSLCA.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-01-18 14:36:07 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-01-18 14:36:07 -0500
commitda53b2b3fe5f5e1ba8511da9ed7adbf23800a9eb (patch)
tree59668eecd5b2ef7440cafbca99cbb03a88410fcf /src/lib/Bcfg2/Server/Plugins/SSLCA.py
parent554bded7058a21abc5b5ea1afb09f0c2825d2c76 (diff)
downloadbcfg2-da53b2b3fe5f5e1ba8511da9ed7adbf23800a9eb.tar.gz
bcfg2-da53b2b3fe5f5e1ba8511da9ed7adbf23800a9eb.tar.bz2
bcfg2-da53b2b3fe5f5e1ba8511da9ed7adbf23800a9eb.zip
fixed syntax errors for py < 2.5
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/SSLCA.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/SSLCA.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/SSLCA.py b/src/lib/Bcfg2/Server/Plugins/SSLCA.py
index 0d51adf18..b5cc11aa4 100644
--- a/src/lib/Bcfg2/Server/Plugins/SSLCA.py
+++ b/src/lib/Bcfg2/Server/Plugins/SSLCA.py
@@ -362,7 +362,8 @@ class SSLCA(Bcfg2.Server.Plugin.GroupSpool):
""" The SSLCA generator handles the creation and management of ssl
certificates and their keys. """
__author__ = 'g.hagger@gmail.com'
- es_cls = lambda self, *args: SSLCAEntrySet(*args, parent=self)
+ # python 2.5 doesn't support mixing *magic and keyword arguments
+ es_cls = lambda self, *args: SSLCAEntrySet(*args, **dict(parent=self))
es_child_cls = SSLCADataFile
def get_ca(self, name):