From 3c545352c962f747638f3fa3d38a89d52074de05 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Wed, 30 Jan 2013 12:21:13 +0000 Subject: Remove deprecated functions --- morphlib/app.py | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'morphlib/app.py') diff --git a/morphlib/app.py b/morphlib/app.py index b2ddfdb1..47288a6a 100755 --- a/morphlib/app.py +++ b/morphlib/app.py @@ -220,12 +220,6 @@ class Morph(cliapp.Application): yield args[0], args[1], args[2] + ".morph" args = args[3:] - def _itertriplets(self, *args): - warnings.warn('_itertriplets is deprecated, ' - 'use itertriplets instead', stacklevel=1, - category=DeprecationWarning) - return self.itertriplets(*args) - def create_source_pool(self, lrc, rrc, triplet): pool = morphlib.sourcepool.SourcePool() @@ -239,12 +233,6 @@ class Morph(cliapp.Application): visit=add_to_pool) return pool - def _create_source_pool(self, *args): - warnings.warn('_create_source_pool is deprecated, ' - 'use create_source_pool instead', stacklevel=1, - category=DeprecationWarning) - return self.create_source_pool(*args) - def resolve_ref(self, lrc, rrc, reponame, ref, update=True): '''Resolves commit and tree sha1s of the ref in a repo and returns it. @@ -321,12 +309,6 @@ class Morph(cliapp.Application): queue.extend((c['repo'], c['ref'], '%s.morph' % c['morph']) for c in morphology['chunks']) - def _traverse_morphs(self, *args): - warnings.warn('_traverse_morphs is deprecated, ' - 'use traverse_morphs instead', stacklevel=1, - category=DeprecationWarning) - return self.traverse_morphs(*args) - def cache_repo_and_submodules(self, cache, url, ref, done): subs_to_process = set() subs_to_process.add((url, ref)) @@ -347,12 +329,6 @@ class Morph(cliapp.Application): if (submod.url, submod.commit) not in done: subs_to_process.add((submod.url, submod.commit)) - def _cache_repo_and_submodules(self, *args): - warnings.warn('_cache_repo_and_submodules is deprecated, ' - 'use cache_repo_and_submodules instead', stacklevel=1, - category=DeprecationWarning) - return self.cache_repo_and_submodules(*args) - def status(self, **kwargs): '''Show user a status update. -- cgit v1.2.1