pastebin backend: Use a default expiration of one month

I don't want to clog pastebin's database with my unit tests!
This commit is contained in:
Laurent Bachelier 2011-04-14 23:46:22 +02:00
commit 1f571a9dc9
2 changed files with 2 additions and 0 deletions

View file

@ -62,6 +62,7 @@ class PastebinBrowser(BaseBrowser):
def api_post_paste(self, dev_key, paste):
data = {'api_dev_key': dev_key,
'api_option': 'paste',
'api_paste_expire_date': '1M',
'api_paste_code': paste.contents.encode(self.ENCODING),
}
if paste.title: