dabo Commit
Revision 5547
Date: 2009-12-02 11:55:30 -0800 (Wed, 02 Dec 2009)
Author: Ed
Trac: http://trac.dabodev.com/changeset/5547

Changed:
U   trunk/dabo/ui/uiwx/__init__.py

Log:
The r5372 revert didn't quite fix things; the use of the set() call ended up 
screwing up the extension order anyway. This commit removes that call, so if 
you pass the same file type multiple times, well, we won't be cleaning up after 
your sloppiness anymore.


Diff:
Modified: trunk/dabo/ui/uiwx/__init__.py
===================================================================
--- trunk/dabo/ui/uiwx/__init__.py      2009-12-02 19:45:05 UTC (rev 5546)
+++ trunk/dabo/ui/uiwx/__init__.py      2009-12-02 19:55:30 UTC (rev 5547)
@@ -1066,7 +1066,7 @@
                fileDict = dabo.file_extensions
                fileDict.update(dabo.custom_extensions)
                tmplt = "%s (*.%s)|*.%s"
-               normArgs = list(set([arg.lower() for arg in args]))
+               normArgs = [arg.lower() for arg in args]
                for ftype in normArgs:
                        try:
                                fDesc = fileDict[ftype.lower()]



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to