text formatting not supported in Python 3

Bug #1781380 reported by Mateusz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python Jenkins
New
Undecided
Unassigned

Bug Description

  File "/home/springdev/.virtualenvs/jenkins/lib/python3.5/site-packages/jenkins/__init__.py", line 631, in get_build_info
    'GET', self._build_url(BUILD_INFO, locals())
  File "/home/springdev/.virtualenvs/jenkins/lib/python3.5/site-packages/jenkins/__init__.py", line 340, in _build_url
    url_path = format_spec % self._get_encoded_params(variables)
TypeError: %d format: a number is required, not str

Executed on Python 3.5.2 hit the text formatting with an "%"

Revision history for this message
Mateusz (smbrd) wrote :

python-jenkins==1.0.2

Revision history for this message
Qwerty Maniac (qwertymaniac) wrote :

Please ignore my comment above - I do not face this issue, and instead there was an issue with my code w.r.t. arg order placement made to the Jenkins class method call.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.