Fix typos

This commit is contained in:
Joseph Schorr 2015-02-09 14:53:18 -05:00
parent 384d0eba6f
commit 9b0e43514b
2 changed files with 4 additions and 2 deletions

View file

@ -117,7 +117,7 @@ class BuildJob(object):
""" Determines the cached tag by looking for one of the tags being built, and seeing if it
exists in the repository. This is a fallback for when no comment information is available.
"""
tags = self._build_config.get('docker_tags', ['latest'])
tags = self.build_config.get('docker_tags', ['latest'])
repository = self.repo_build.repository
existing_tags = model.list_repository_tags(repository.namespace_user.username, repository.name)
cached_tags = set(tags) & set([tag.name for tag in existing_tags])