summaryrefslogtreecommitdiff
path: root/morphlib/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/util.py')
-rw-r--r--morphlib/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/util.py b/morphlib/util.py
index ba170952..0c3291c2 100644
--- a/morphlib/util.py
+++ b/morphlib/util.py
@@ -780,7 +780,7 @@ class ProgressBar(object):
sys.stderr.flush()
-def schemas_directory(): # pragma: no cover
+def schemas_directory(version): # pragma: no cover
'''Returns a path to the schemas/ subdirectory of the 'morphlib' module.'''
code_dir = os.path.dirname(morphlib.__file__)
- return os.path.join(code_dir, 'schemas')
+ return os.path.join(code_dir, 'schemas', str(version))