summaryrefslogtreecommitdiff
path: root/morphlib/source.py
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-11 18:25:38 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-12 14:13:43 +0100
commitdd21e646b320a4aeb948830034dea2ab94e32064 (patch)
treec54b72751eed3ab21e1c371d622f24c88e7745f1 /morphlib/source.py
parent4e37fdf5adbf4d25561b472b4089b6782c599f93 (diff)
downloadmorph-dd21e646b320a4aeb948830034dea2ab94e32064.tar.gz
Don't use .morph extension when printing name of triplets
We should now be fully consistent regarding the form of triplets (ie. the last component is always a morphology name rather than a filename)
Diffstat (limited to 'morphlib/source.py')
-rw-r--r--morphlib/source.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/source.py b/morphlib/source.py
index ed62ea4a..d4f1e119 100644
--- a/morphlib/source.py
+++ b/morphlib/source.py
@@ -51,4 +51,4 @@ class Source(object):
def __str__(self): # pragma: no cover
return '%s|%s|%s' % (self.repo_name,
self.original_ref,
- self.filename)
+ self.filename[:-len('.morph')])