# HG changeset patch # User Jeff Hammel # Date 1316395677 25200 # Node ID 86f6f99e421b78b1e129983d02572e7632461bde # Parent 5b78d1411cdda73179be7cd0208702a8b2afce29 add types for unimplemented dispatchers diff -r 5b78d1411cdd -r 86f6f99e421b fetch/main.py --- a/fetch/main.py Sun Sep 18 10:48:19 2011 -0700 +++ b/fetch/main.py Sun Sep 18 18:27:57 2011 -0700 @@ -41,6 +41,7 @@ f.write(self.download(self.url)) f.close() + class TarballFetcher(FileFetcher): """fetch and extract a tarball""" @@ -49,9 +50,13 @@ class HgFetcher(Fetcher): """checkout a mercurial repository""" + type = 'hg' + class GitFetcher(Fetcher): """checkout a git repository""" + type = 'git' + fetchers = [FileFetcher] class Fetch(object):