Skip to content

Commit

Permalink
Add support for paste.debian.net (Rolf Leggewie)
Browse files Browse the repository at this point in the history
  • Loading branch information
stgraber committed May 30, 2008
1 parent 2ca14a8 commit 06713e4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pastebinit
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ try:
params['poster'] = user
params['syntax'] = format #The format, for syntax hilighting
params['content'] = content
elif website == "http://paste.debian.net":
params['poster'] = user
params['lang'] = "-1" #The format, for syntax hilighting, default to plain text
params['syntax'] = format #The format, for syntax hilighting
params['code'] = content
params['remember'] = "0" #Do you want a cookie ?
params['expire'] = "259200" # expire in 72h
else:
sys.exit(_("Unknown website, please post a bugreport to request this pastebin to be added (%s)") % website)
return params
Expand Down
3 changes: 3 additions & 0 deletions pastebinit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@
<listitem>
<para>http://paste.ubuntu.com</para>
</listitem>
<listitem>
<para>http://paste.debian.net</para>
</listitem>
<listitem>
<para>http://*.paste.f-box.org</para>
</listitem>
Expand Down

0 comments on commit 06713e4

Please sign in to comment.