summaryrefslogtreecommitdiff
path: root/simplejenkinsapi/jobconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'simplejenkinsapi/jobconfig.py')
-rw-r--r--simplejenkinsapi/jobconfig.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/simplejenkinsapi/jobconfig.py b/simplejenkinsapi/jobconfig.py
index f49c0b2..0e7a38d 100644
--- a/simplejenkinsapi/jobconfig.py
+++ b/simplejenkinsapi/jobconfig.py
@@ -1,17 +1,17 @@
# jobconfig.py -- create Jenkins job config.xml files
#
# Copyright 2012 Lars Wirzenius
-#
+#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -44,10 +44,10 @@ empty = '''\
class JobConfig(object):
'''Create a Jenkins job configuration XML file.
-
+
This does not try to be complete, and only tries to do the minimal
things I need for my automated job creation needs.
-
+
'''
def __init__(self):
@@ -60,7 +60,7 @@ class JobConfig(object):
def add_param_dict(self, prefix, param_dict):
self._param_dicts.append((prefix, param_dict))
-
+
def _get_params(self):
unified = {}
for prefix, param_dict in self._param_dicts:
@@ -70,9 +70,9 @@ class JobConfig(object):
def job_id(self):
'''Create a unique job id from constituent parts.
-
+
Escape characters that Jenkins gets upset by, such as '@'.
-
+
'''
def esc(s):