diff options
Diffstat (limited to 'attoconf/lib/arches.py')
-rw-r--r-- | attoconf/lib/arches.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/attoconf/lib/arches.py b/attoconf/lib/arches.py index bafef38..c168292 100644 --- a/attoconf/lib/arches.py +++ b/attoconf/lib/arches.py @@ -18,15 +18,7 @@ from __future__ import print_function, division, absolute_import from ..classy import ClassyProject - -def triple(s): - # Triples do not, in fact, follow a regular pattern. - # Some have only two segments, some appear to have four ... - # Also, sometimes a wrong thing is used as a triple. - # All we *really* care about is generating the tool names. - if s.startswith('-') or s.endswith('-') or '-' not in s[1:-1]: - raise ValueError('Probably not a triple') - return s +from ..types import triple def host(build, HOST): if HOST is None: |