Package: pastebinit
Version: 0.10-1
Severity: wishlist

Hi,

it would be nice if you could include the attached patch in 
pastebinit, so the user can send his paste to paste.debian.net.

Regards, Stefan

-- 
,---[ xeno ]-----
| Stefan Ritter 
| JID <[EMAIL PROTECTED]>
| Web <http://www.thehappy.de/~xeno/>
`----------------
,---[ please ]---
| ()  ascii ribbon campaign - against html e-mail            
| /\  www.asciiribbon.org   - against proprietary attachments
`----------------
diff -r -u pastebinit-0.10/pastebinit pastebinit-0.10-2/pastebinit
--- pastebinit-0.10/pastebinit	2008-05-12 16:41:39.000000000 +0200
+++ pastebinit-0.10-2/pastebinit	2008-11-26 16:40:49.000000000 +0100
@@ -87,6 +87,13 @@
 			params['poster'] = user
 			params['syntax'] = format #The format, for syntax hilighting
 			params['content'] = content
+		elif website == "http://paste.debian.net":
+			params['poster'] = user
+			params['remember'] = "0" #Do you want a cookie?
+			params['lang'] = "421" #Plaintext
+			params['expire'] = "259200" #72h
+			params['code'] = content
+			params['paste'] = "Send"
 		else:
 			sys.exit(_("Unknown website, please post a bugreport to request this pastebin to be added (%s)") % website)
 		return params
diff -r -u pastebinit-0.10/pastebinit.xml pastebinit-0.10-2/pastebinit.xml
--- pastebinit-0.10/pastebinit.xml	2008-05-12 16:45:57.000000000 +0200
+++ pastebinit-0.10-2/pastebinit.xml	2008-11-26 14:13:21.000000000 +0100
@@ -110,6 +110,9 @@
         <para>http://paste.ubuntu.com</para>
       </listitem>
       <listitem>
+        <para>http://paste.debian.net</para>
+      </listitem>
+      <listitem>
         <para>http://*.paste.f-box.org</para>
       </listitem>
       <listitem>

Attachment: signature.asc
Description: Digital signature

Reply via email to