Browse Source

Merge "cvs: Fix indentation"

tags/2.5.0
Zuul 8 months ago
parent
commit
723ca6951c
1 changed files with 5 additions and 2 deletions
  1. 5
    2
      jenkins_jobs/modules/scm.py

+ 5
- 2
jenkins_jobs/modules/scm.py View File

@@ -561,14 +561,17 @@ def cvs(registry, xml_parent, data):
561 561
        :language: yaml
562 562
     """
563 563
     prefix = 'hudson.scm.'
564
-    valid_loc_types = {'HEAD': 'Head', 'TAG': 'Tag', 'BRANCH': 'Branch'}
564
+    valid_loc_types = {
565
+        'HEAD': 'Head',
566
+        'TAG': 'Tag',
567
+        'BRANCH': 'Branch'
568
+    }
565 569
 
566 570
     cvs = XML.SubElement(xml_parent, 'scm', {'class': prefix + 'CVSSCM'})
567 571
     repos = data.get('repos')
568 572
     repos_tag = XML.SubElement(cvs, 'repositories')
569 573
     for repo in repos:
570 574
         repo_tag = XML.SubElement(repos_tag, prefix + 'CvsRepository')
571
-
572 575
         compression_level = repo.get('compression-level', '-1')
573 576
         repo_mapping = [
574 577
             ('root', 'cvsRoot', None),

Loading…
Cancel
Save