mnencia

Untitled

Oct 2nd, 2017
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.60 KB | None | 0 0
  1. diff --git a/jenkins/__init__.py b/jenkins/__init__.py
  2. index 4105c89..d48eaee 100755
  3. --- a/jenkins/__init__.py
  4. +++ b/jenkins/__init__.py
  5. @@ -818,7 +818,7 @@ class Jenkins(object):
  6.              for job in lvl_jobs:
  7.                  if 'jobs' in job:  # folder
  8.                      if folder_depth is None or lvl < folder_depth:
  9. -                        path = '/job/'.join((root, job[u'name']))
  10. +                        path = '/job/'.join((root, quote(job[u'name'])))
  11.                          jobs.append(
  12.                              (lvl + 1, path,
  13.                               self.get_info(path,
Advertisement
Add Comment
Please, Sign In to add comment