Changeset 3237
- Timestamp:
- 07/11/2007 07:44:55 PM (1 year ago)
- Files:
-
- branches/stable/dabo/dApp.py (modified) (1 diff)
- branches/stable/dabo/db/dbSQLite.py (modified) (2 diffs)
- branches/stable/dabo/lib/connParser.py (modified) (2 diffs)
- trunk/dabo/dApp.py (modified) (1 diff)
- trunk/dabo/db/dbSQLite.py (modified) (2 diffs)
- trunk/dabo/lib/connParser.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/stable/dabo/dApp.py
r3088 r3237 721 721 pthList = pth.strip(os.sep).split(os.sep) 722 722 ret = ".".join(pthList) 723 ret = ret.decode(sys.getfilesystemencoding()) 723 724 return ret 724 725 branches/stable/dabo/db/dbSQLite.py
r3106 r3237 1 1 # -*- coding: utf-8 -*- 2 import sys 2 3 import os 3 4 import re … … 51 52 self._dictCursorClass = DictCursor 52 53 pth = os.path.expanduser(connectInfo.Database) 54 pth = pth.decode(sys.getfilesystemencoding()).encode("utf-8") 53 55 self._connection = self.dbapi.connect(pth, factory=DictConnection) 54 56 return self._connection branches/stable/dabo/lib/connParser.py
r3084 r3237 1 1 # -*- coding: utf-8 -*- 2 import sys 2 3 import xml.sax 3 4 from StringIO import StringIO … … 69 70 osp = os.path 70 71 relpath = utils.resolvePath(val, pth, abspath=False) 72 pth = pth.decode(sys.getfilesystemencoding()) 71 73 abspath = osp.abspath(osp.join(osp.split(pth)[0], relpath)) 72 74 if osp.exists(abspath): trunk/dabo/dApp.py
r3233 r3237 836 836 pthList = pth.strip(os.sep).split(os.sep) 837 837 ret = ".".join(pthList) 838 ret = ret.decode(sys.getfilesystemencoding()) 838 839 return ret 839 840 trunk/dabo/db/dbSQLite.py
r3217 r3237 1 1 # -*- coding: utf-8 -*- 2 import sys 2 3 import os 3 4 import re … … 51 52 self._dictCursorClass = DictCursor 52 53 pth = os.path.expanduser(connectInfo.Database) 54 pth = pth.decode(sys.getfilesystemencoding()).encode("utf-8") 53 55 self._connection = self.dbapi.connect(pth, factory=DictConnection) 54 56 return self._connection trunk/dabo/lib/connParser.py
r3084 r3237 1 1 # -*- coding: utf-8 -*- 2 import sys 2 3 import xml.sax 3 4 from StringIO import StringIO … … 69 70 osp = os.path 70 71 relpath = utils.resolvePath(val, pth, abspath=False) 72 pth = pth.decode(sys.getfilesystemencoding()) 71 73 abspath = osp.abspath(osp.join(osp.split(pth)[0], relpath)) 72 74 if osp.exists(abspath):
