~pfalcon/linaro-ci-dashboard/bzr_home

« back to all changes in this revision

Viewing changes to dashboard/jenkinsserver/models/jenkins_server.py

  • Committer: Paul Sokolovsky
  • Date: 2012-09-17 11:38:54 UTC
  • Revision ID: paul.sokolovsky@linaro.org-20120917113854-pfbp126bh1n7wots
Use Loop type instead of Python class name as job/script template names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
        # by default use loop class as such.
117
117
        if 'assigned_node' not in loop_params:
118
118
            loop_params['assigned_node'] = loop.type
119
 
        template_name = loop.__class__.__name__
 
119
        template_name = loop.type
120
120
 
121
121
        # We need to handle the CONFIG parameter as a base64 encoded string.
122
122
        # At the moment used only by Android builds.