summaryrefslogtreecommitdiff
path: root/docker/utils/fnmatch.py
diff options
context:
space:
mode:
Diffstat (limited to 'docker/utils/fnmatch.py')
-rw-r--r--docker/utils/fnmatch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/utils/fnmatch.py b/docker/utils/fnmatch.py
index 42461dd..cc940a2 100644
--- a/docker/utils/fnmatch.py
+++ b/docker/utils/fnmatch.py
@@ -111,4 +111,5 @@ def translate(pat):
res = '%s[%s]' % (res, stuff)
else:
res = res + re.escape(c)
+
return res + '$'