mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
remote: remove unecessary + on open mode
This commit is contained in:
+1
-1
@@ -394,7 +394,7 @@ class RemoteBASE(object):
|
||||
#
|
||||
# That's why we simply create an empty file rather than a link.
|
||||
if self.getsize(from_info) == 0:
|
||||
self.open(to_info, "w+").close()
|
||||
self.open(to_info, "w").close()
|
||||
|
||||
logger.debug(
|
||||
"Created empty file: {src} -> {dest}"
|
||||
|
||||
Reference in New Issue
Block a user