Fix error when using '-m' in an SVN repo

This commit is contained in:
Romain Failliot 2020-07-01 19:51:53 -04:00
parent 3998a92deb
commit 80667da3a5
2 changed files with 1 additions and 1 deletions

View File

@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- fixed missing directories when uninstalling
- fixed bug introduced by r420 with RCS VCS
- fixed broken drag'n'drop since migration to Python3/GTK3
- fixed error when using '-m' in an SVN repo
## [0.4.8] - 2014-07-18
### Added

View File

@ -1334,7 +1334,6 @@ def relpath(a, b):
# by prepending './' to the basename
def safeRelativePath(abspath1, name, prefs, cygwin_pref):
s = os.path.join(os.curdir, relpath(abspath1, os.path.abspath(name)))
s = codecs.encode(s, sys.getfilesystemencoding())
if isWindows():
if prefs.getBool(cygwin_pref):
s = s.replace('\\', '/')