changeset 26:8179c05d7692

note ABC
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 30 May 2011 21:13:02 -0700
parents a54543838686
children 901755a65249
files buttercup/source.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/buttercup/source.py	Mon May 30 21:11:19 2011 -0700
+++ b/buttercup/source.py	Mon May 30 21:13:02 2011 -0700
@@ -18,6 +18,9 @@
     def directory(self):
         return os.path.join(self.srcdir, self.directory_name(self.uri))
 
+    def update(self):
+        raise NotImplementedError("`Source` is an abstract base class")
+
 class HgSource(Source):
     """mercurial source"""