summaryrefslogtreecommitdiff
path: root/morphlib/util.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2013-11-22 13:44:15 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2013-11-29 16:11:32 +0000
commitb38e47f413c6651c8953d2bebd99ae0bb80c07f9 (patch)
tree4cf05a84653e4f4ee1f42a983e3f92d80a086425 /morphlib/util.py
parent21d7299e927696c2536e2170f77eef9b25f80172 (diff)
downloadmorph-b38e47f413c6651c8953d2bebd99ae0bb80c07f9.tar.gz
sysbranchdir: Move load_all_morphologies helper here
This was previously a private method of the branch and merge plugin, but it's useful to other plugins, so has been moved to the SystemBranchDirectory class, where everything else can get to it. It has an unpleasant amount of coupling to other classes, but in a *good* object oriented design it would either be a tiny module on its own, or not exist and leave all its users to re-implement the same logic multiple ways, so we've opted for a less clean, but more useful design. It is left un-covered by the unit tests, since it requires a great deal of instrumentation to test, at which point it may be best to leave it to integration tests.
Diffstat (limited to 'morphlib/util.py')
-rw-r--r--morphlib/util.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/morphlib/util.py b/morphlib/util.py
index 7382e40c..16e56366 100644
--- a/morphlib/util.py
+++ b/morphlib/util.py
@@ -18,7 +18,6 @@ import os
import re
import morphlib
-import logging
'''Utility functions for morph.'''