equal
deleted
inserted
replaced
31 file = str(file, sys.getfilesystemencoding()) |
31 file = str(file, sys.getfilesystemencoding()) |
32 return file |
32 return file |
33 |
33 |
34 |
34 |
35 def AbsDir(file): |
35 def AbsDir(file): |
36 file = AbsFile(file) |
|
37 return os.path.dirname(os.path.realpath(file)) |
36 return os.path.dirname(os.path.realpath(file)) |
38 |
37 |
39 |
38 |
40 def AbsNeighbourFile(file, *args): |
39 def AbsNeighbourFile(file, *args): |
41 return os.path.join(AbsDir(file), *args) |
40 return os.path.join(AbsDir(file), *args) |