Support for http://pastebin.archlinux.org
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pastebinit |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This patch is not by me, but I would like to see it implemented upstream.
--- a/pastebinit-0.7.py 2008-01-19 18:33:05.000000000 +0900
+++ b/pastebinit-0.7.py 2008-01-19 18:36:30.000000000 +0900
@@ -17,6 +17,9 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+# Modified by Sashi:
+# Added support for Archlinux's pastebin
+
import urllib, os, sys, re, getopt, select
defaultPB = "http://
@@ -62,6 +65,15 @@
params['save'] = "0" #Do you want a cookie ?
params['s'] = "Submit Post"
params['regexp'] = '">http://
+ elif website == "http://
+ params[
+ params[
+ params[
+ params[
+ params[
+ params[
+ params[
+ params[
else:
sys.exit("Unknown website, please post a bugreport to request this pastebin to be added (" + website + ")")
return params
Didn't see a patch upload form, here's the patch attatched.