Skip to content

Commit

Permalink
Update Debian files for Ubuntu Gutsy (move to 0.8)
Browse files Browse the repository at this point in the history
  • Loading branch information
stgraber committed May 12, 2007
1 parent 23e1017 commit 28a7c66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
4 changes: 2 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pastebinit (0.7-0ubuntu1) feisty; urgency=low
pastebinit (0.8-0ubuntu1) gutsy; urgency=low
* New version upstream
- Add 1t2.us pastebin support (Daniel Bartlett)
- New parameters system (Daniel Bartlett)
Expand All @@ -8,7 +8,7 @@ pastebinit (0.7-0ubuntu1) feisty; urgency=low
- Updated manpage (Stéphane Graber)
- New regexp (Daniel Bartlett)

-- Stéphane Graber <stgraber@stgraber.org> Thu, 07 Dec 2006 20:58:31 +0100
-- Stéphane Graber <stgraber@stgraber.org> Thu, 26 Apr 2007 14:05:31 +0200

pastebinit (0.6-0ubuntu1) feisty; urgency=low
* New version upstream
Expand Down
16 changes: 1 addition & 15 deletions pastebinit
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import urllib, os, sys, re, getopt, select, xml.dom.minidom

defaultPB = "http://paste.stgraber.org" #Default pastebin
version = "0.71" #Version number to show in the usage
version = "0.8" #Version number to show in the usage
configfile = os.environ.get('HOME') + "/.pastebinit.xml"

# Custom urlopener to handle 401's
Expand All @@ -43,20 +43,6 @@ def getParameters(website, content, user, jabberid, version, format, parentpid,
params['remember'] = "0" #Do you want a cookie ?
params['expiry'] = "f" #The expiration, f = forever
params['regexp'] = "None"
# pastebin.com v0.60
# elif re.search("http://((([a-zA-Z0-9\-_\.]*)(1t2\.us)))", website):
# params['poster'] = user
# params['code2'] = content
# params['parent_pid'] = parentpid #For reply, "" means homepage (new thread)
# params['format'] = format #The format, for syntax hilighting
# params['paste'] = "Send"
# params['remember'] = "0" #Do you want a cookie ?
# params['expiry'] = "f" #The expiration, f = forever
# params['title'] = title
# params['username'] = username
# params['password'] = password
# params['regexp'] = "None"
# pastebin.com v0.61
elif re.search("http://((([a-zA-Z0-9\-_\.]*)(paste\.f\-box\.org|1t2\.us|paste\.stgraber\.org)))", website):
params['poster'] = user
params['jid'] = jabberid
Expand Down

0 comments on commit 28a7c66

Please sign in to comment.