mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-25 15:33:39 +00:00
Merge pull request #7344 from RayyanAnsari/parseformat-rm-hack
parseformat: remove Windows-specific hack
This commit is contained in:
commit
6db21fa330
1 changed files with 0 additions and 10 deletions
|
@ -472,16 +472,6 @@ def normpath_special(p):
|
|||
p = os.path.normpath(p)
|
||||
return ("/." + p) if relative else p
|
||||
|
||||
if is_win32:
|
||||
m = self.win_file_re.match(text)
|
||||
if m:
|
||||
self.proto = "file"
|
||||
self.path = m.group("path")
|
||||
return True
|
||||
|
||||
# On windows we currently only support windows paths.
|
||||
return False
|
||||
|
||||
m = self.ssh_re.match(text)
|
||||
if m:
|
||||
self.proto = m.group("proto")
|
||||
|
|
Loading…
Reference in a new issue