paste* backends: "Paste not found" exception

This commit is contained in:
Laurent Bachelier 2011-04-20 01:03:04 +02:00
commit 154c061398
6 changed files with 56 additions and 10 deletions

View file

@ -21,9 +21,12 @@
from .base import IBaseCap, CapBaseObject, NotLoaded
__all__ = ['BasePaste', 'ICapPaste']
__all__ = ['PasteNotFound', 'BasePaste', 'ICapPaste']
class PasteNotFound(Exception):
pass
class BasePaste(CapBaseObject):
"""
Represents a pasted text.