Fix a typo.

Definitely a typo.  It would be a `NameError`.  There is no `name` here.
This commit is contained in:
Ralph Bean
2017-10-02 16:22:14 -04:00
parent a9b06a64e9
commit d5344b0c63

View File

@@ -304,7 +304,7 @@ class MockModuleBuilder(GenericBuilder):
if tag.startswith(conf.mock_resultsdir):
repo_name = os.path.basename(tag)
if repo_name.startswith("module-"):
repo_name = name[7:]
repo_name = repo_name[7:]
repo_dir = tag
else:
repo_name = tag