snapcraft uses % to format strings

Bug #1477638 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Low
Leo Arias

Bug Description

Instead, it should use the .format method.

From https://docs.python.org/2/library/stdtypes.html#str.format :

This method of string formatting is the new standard in Python 3, and should be preferred to the % formatting described in String Formatting Operations in new code.

Related branches

Leo Arias (elopio)
Changed in snapcraft:
status: New → In Progress
assignee: nobody → Leo Arias (elopio)
Revision history for this message
Daniel Holbach (dholbach) wrote :
Revision history for this message
Leo Arias (elopio) wrote :
Changed in snapcraft:
status: In Progress → Invalid
Changed in snapcraft:
status: Invalid → Fix Committed
Changed in snapcraft:
milestone: none → 0.5
Changed in snapcraft:
importance: Undecided → Low
Revision history for this message
Leo Arias (elopio) wrote :
Changed in snapcraft:
status: Fix Committed → Fix Released
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.