equal
deleted
inserted
replaced
20 # |
20 # |
21 # You should have received a copy of the GNU General Public License |
21 # You should have received a copy of the GNU General Public License |
22 # along with this program; if not, write to the Free Software |
22 # along with this program; if not, write to the Free Software |
23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
24 |
24 |
25 import os, sys |
25 import os |
|
26 import sys |
26 |
27 |
27 def AbsFile(file): |
28 def AbsFile(file): |
28 if isinstance(file, str): |
29 if isinstance(file, str): |
29 file = unicode(file,sys.getfilesystemencoding()) |
30 file = unicode(file,sys.getfilesystemencoding()) |
30 return file |
31 return file |