Merge branch '8784-dir-listings'
[arvados.git] / crunch_scripts / crunchutil / subst.py
index fad9b060ee65ea574d6c8a3a1f04e528559a6277..53def97f9648872e69634b29d701944f3cf59639 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
+
 import glob
 import os
 import re
@@ -63,7 +67,7 @@ def sub_basename(v):
 def sub_glob(v):
     l = glob.glob(v)
     if len(l) == 0:
-        raise SubstitutionError("$(glob {}) no match fonud".format(v))
+        raise SubstitutionError("$(glob {}) no match found".format(v))
     else:
         return l[0]