Skip to content

Commit

Permalink
removed braces and reformatted code for better clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
lechat committed Nov 10, 2018
1 parent 21897bf commit 2398927
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions examples/how_to/use_crumbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
from jenkinsapi.jenkins import Jenkins
from jenkinsapi.utils.crumb_requester import CrumbRequester

jenkins = Jenkins('http://localhost:8080', username='admin', password='password',
requester=CrumbRequester(
baseurl='http://localhost:8080',
username='admin',
password='password'
))
jenkins = Jenkins(
'http://localhost:8080', username='admin', password='password',
requester=CrumbRequester(
baseurl='http://localhost:8080',
username='admin',
password='password'
)
)

for job_name in jenkins.jobs:
print (job_name)
print job_name

0 comments on commit 2398927

Please sign in to comment.