projects
/
findit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0fb53f
)
Try to fix 1251 filepaths on Windows
author
Eugene Gagarin
<mosfet07@ya.ru>
Tue, 19 May 2009 09:15:54 +0000
(13:15 +0400)
committer
Eugene Gagarin
<mosfet07@ya.ru>
Tue, 19 May 2009 09:15:54 +0000
(13:15 +0400)
src/files/search.py
patch
|
blob
|
history
diff --git
a/src/files/search.py
b/src/files/search.py
index
707f752
..
c94adf7
100755
(executable)
--- a/
src/files/search.py
+++ b/
src/files/search.py
@@
-65,6
+65,8
@@
class Abstraction(object):
# Store only necessary files
for mask in file_filter:
if fnmatch(fname, mask):
+ # Crutch for non-unicode names
+ #flpath = unicode(join(dirpath, fname), '1251')
flpath = join(dirpath, fname)
# Show current path
self.presentation.show_current_status(flpath)