paste* backends: Support the 'public' attribute
This commit is contained in:
parent
4b2b9e511f
commit
9022435e49
6 changed files with 27 additions and 4 deletions
|
|
@ -25,6 +25,9 @@ __all__ = ['PastealaconPaste']
|
|||
|
||||
|
||||
class PastealaconPaste(BasePaste):
|
||||
# all pastes are public
|
||||
public = True
|
||||
|
||||
@classmethod
|
||||
def id2url(cls, _id):
|
||||
return 'http://pastealacon.com/%s' % _id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue