Fix typo: _choiches -> _choices (#2127)

The breaks `spack create`.
This commit is contained in:
George Hartzell 2016-10-26 20:39:08 -07:00 committed by Todd Gamblin
parent e652a32f05
commit bf08bd7076

View File

@ -336,7 +336,7 @@ def __call__(self, stage, url):
self.build_system = build_system
def make_guess(self, name, url, ver_hash_tuples):
cls = self._choiches.get(self.build_system, DefaultGuess)
cls = self._choices.get(self.build_system, DefaultGuess)
return cls(name, url, ver_hash_tuples)