diff options
author | Richard Maw <richard.maw@gmail.com> | 2014-09-10 10:41:53 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@gmail.com> | 2014-09-19 12:43:25 +0000 |
commit | df9e5b5ade504c5de34ec880e8c2c8172aa23c57 (patch) | |
tree | e59ec0356bee5336080ceefc02cfcd3ffc03572d /morphlib/buildcommand.py | |
parent | 8184edabc5999ecb43e49a4ef03f73e4270e5347 (diff) | |
download | morph-df9e5b5ade504c5de34ec880e8c2c8172aa23c57.tar.gz |
Rename BuildCommand.get_sources to fetch_sources
There's other methods called get_sources in other modules, and
fetch_sources explains more about what it does in the context.
Diffstat (limited to 'morphlib/buildcommand.py')
-rw-r--r-- | morphlib/buildcommand.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/buildcommand.py b/morphlib/buildcommand.py index 1cb0c4d9..352b43d2 100644 --- a/morphlib/buildcommand.py +++ b/morphlib/buildcommand.py @@ -312,7 +312,7 @@ class BuildCommand(object): name=artifact.name, kind=artifact.source.morphology['kind']) - self.get_sources(artifact) + self.fetch_sources(artifact) deps = self.get_recursive_deps(artifact) self.cache_artifacts_locally(deps) @@ -353,7 +353,7 @@ class BuildCommand(object): def get_recursive_deps(self, artifact): return artifact.walk()[:-1] - def get_sources(self, artifact): + def fetch_sources(self, artifact): '''Update the local git repository cache with the sources.''' repo_name = artifact.source.repo_name |