Permalink
Browse files

Case-Insensitive compare

The sorter Function now uses car insensitive compares
  • Loading branch information...
1 parent a83f3e9 commit 0eb3e73368eb39887547059689788bdf1c79cd2d @gamma committed Aug 8, 2011
Showing with 3 additions and 2 deletions.
  1. +2 −1 .gitignore
  2. +1 −1 localizeUtils.py
View
@@ -1 +1,2 @@
-*.pyc
+*.pyc
+.svn
View
@@ -115,7 +115,7 @@ def merge_with(self, new):
return merged
def sort(self):
- self.strings = sorted(set(self.strings), key=lambda LocalizedString: LocalizedString.key )
+ self.strings = sorted(set(self.strings), key=lambda LocalizedString: LocalizedString.key.lower )
return self
def merge(merged_fname, old_fname, new_fname):

0 comments on commit 0eb3e73

Please sign in to comment.