Comment 3 for bug 1216322

Revision history for this message
Daniel Hahler (blueyed) wrote :

This conf works, but requires a change to pastebinit to accept/use `format` from `[defaults]`.
Using this config you will have to use `-f ""` to change the default format ("text", no accepted by dpaste) to an empty string.

  [pastebin]
  basename = dpaste.com
  regexp = http://dpaste.com

  [format]
  user = poster
  content = content
  title = title
  format = language
  page = page

  [defaults]
  # Empty means "Plain".
  format =
  page = /api/v1/

I am currently hacking in the pastebinit source anyway, and would add this as a pull request.