Wrong string formatting in Unkown Website Error

Bug #369219 reported by Micha J. Englisch
2
Affects Status Importance Assigned to Milestone
pastebinit
Fix Released
Undecided
Unassigned

Bug Description

Traceback (most recent call last):
  File "/usr/local/bin/pastebinit", line 307, in <module>
    params = getParameters(website, content, user, jabberid, version, format, parentpid, permatag, title, username, password) #Get the parameters array
  File "/usr/local/bin/pastebinit", line 167, in getParameters
    sys.exit(_("Unknown website, please post a bugreport to request this pastebin to be added (%s)") % website)
TypeError: not all arguments converted during string formatting

little programming mistake, it should be "(%s)" % website)) instead of (%s)") % website)

Revision history for this message
Stéphane Graber (stgraber) wrote :

Thanks for the bug report. It's now fixed in revision 93

Changed in pastebinit:
status: New → Fix Committed
Changed in pastebinit:
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.