diff --git a/dvc/remote/base.py b/dvc/remote/base.py index b40f20206..2eaa3a4c7 100644 --- a/dvc/remote/base.py +++ b/dvc/remote/base.py @@ -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}"