Skip to content

Commit

Permalink
* Add support for http://pastebin.mozilla.org
Browse files Browse the repository at this point in the history
  • Loading branch information
fta1 committed May 12, 2008
1 parent 5b1b6d6 commit 05096a7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ pastebinit (0.9-0ubuntu2) UNRELEASED; urgency=low
[ Fabien Tassin ]
* Add Vcs-Bzr to debian/control
* Fix -a in Usage()
* Add support for http://paste.ubuntu.com
* http://paste.ubuntu.com now supported
* http://pastebin.mozilla.org now supported

-- David Paleino <d.paleino@gmail.com> Tue, 19 Feb 2008 21:07:02 +0100

Expand Down
1 change: 1 addition & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ Description: command-line pastebin client
- http://rafb.net/paste
- http://pastebin.archlinux.org
- http://paste.ubuntu.com
- http://pastebin.mozilla.org
2 changes: 1 addition & 1 deletion pastebinit
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ try:
"Return the parameters array for the selected pastebin"
params={}
# pastebin.com v0.50
if re.search("http://((([a-zA-Z0-9\-_\.]*)(pastebin\.com)))", website) and not website == "http://www.pastebin.com":
if re.search("http://((([a-zA-Z0-9\-_\.]*)(pastebin\.com)))", website) and not website == "http://www.pastebin.com" or website == "http://pastebin.mozilla.org":
params['poster'] = user
params['code2'] = content
params['version'] = version
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://pastebin.mozilla.org</para>
</listitem>
</itemizedlist>
</refsect1>
<refsect1>
Expand Down

0 comments on commit 05096a7

Please sign in to comment.