summaryrefslogtreecommitdiff
path: root/morphlib/morphloader.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/morphloader.py')
-rw-r--r--morphlib/morphloader.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/morphlib/morphloader.py b/morphlib/morphloader.py
index bdbabe46..691c1748 100644
--- a/morphlib/morphloader.py
+++ b/morphlib/morphloader.py
@@ -389,7 +389,7 @@ class MorphologyLoader(object):
morphlib.buildsystem.ManualBuildSystem()
def load_from_string(self, string,
- filename='string'): # pragma: no cover
+ filename='string'):
'''Load a morphology from a string.
Return the Morphology object.
@@ -495,11 +495,6 @@ class MorphologyLoader(object):
raise DuplicateStratumError(morph['name'], name)
names.add(name)
- # We allow the ARMv7 little-endian architecture to be specified
- # as armv7 and armv7l. Normalise.
- if morph['arch'] == 'armv7':
- morph['arch'] = 'armv7l'
-
# Architecture name must be known.
if morph['arch'] not in morphlib.valid_archs:
raise UnknownArchitectureError(morph['arch'], morph.filename)