Skip to content

Commit

Permalink
Update :HPaste to use lpaste.net
Browse files Browse the repository at this point in the history
hpaste.org responds with a redirect which is not handled properly.
  • Loading branch information
UnkindPartition committed Feb 20, 2014
1 parent 5ac05f2 commit a787e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/vim2hs/hpaste.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def hpaste():
})

try:
res = urllib2.urlopen('http://hpaste.org/new', data)
res = urllib2.urlopen('http://lpaste.net/new', data)
paste = res.geturl()
print 'Created new paste %s' % paste
vim.command('call setreg("+", %r)' % paste)
Expand Down

0 comments on commit a787e18

Please sign in to comment.