/[smecontribs]/rpms/translate-toolkit/contribs8/translate-toolkit-1.5.3-bug1372_filesystem_encoding.patch |
Parent Directory
|
Revision Log
|
Revision Graph
Initial import
1 | --- src/trunk/translate/storage/statsdb.py 2010/02/19 16:25:15 13824 |
2 | +++ src/trunk/translate/storage/statsdb.py 2010/02/22 12:27:48 13825 |
3 | @@ -360,7 +360,7 @@ |
4 | |
5 | store can be a TranslationFile object or a callback that returns one. |
6 | """ |
7 | - realpath = os.path.realpath(filename) |
8 | + realpath = unicode(os.path.realpath(filename), sys.getfilesystemencoding()) |
9 | self.cur.execute("""SELECT fileid, st_mtime, st_size FROM files |
10 | WHERE path=?;""", (realpath,)) |
11 | filerow = self.cur.fetchone() |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 | ![]() |