[hdf-compass] 21/295: Fix wildcard issue on Windows
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sun May 8 10:35:21 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository hdf-compass.
commit 30dc5aebca853caf4d508670a643492860135b21
Author: Andrew Collette <andrew.collette at gmail.com>
Date: Mon Jul 21 08:52:54 2014 -0600
Fix wildcard issue on Windows
---
compass_viewer/frame.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/compass_viewer/frame.py b/compass_viewer/frame.py
index f987379..685788f 100644
--- a/compass_viewer/frame.py
+++ b/compass_viewer/frame.py
@@ -100,7 +100,10 @@ class BaseFrame(wx.Frame):
""" Make a wxPython dialog filter string segment from dict """
filter_string = []
for key, value in dct.iteritems():
- s = "{name} ({pattern})|{pattern}".format(name=key, pattern="".join(value))
+ s = "{name} ({pattern_c})|{pattern_sc}".format(
+ name=key,
+ pattern_c=",".join(value),
+ pattern_sc=";".join(value) )
filter_string.append(s)
return "|".join(filter_string)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/hdf-compass.git
More information about the debian-science-commits
mailing list