Skip to content

Commit 9ebc669

Browse files
author
atollk
committed
Fixed codestyle.
1 parent 915fa03 commit 9ebc669

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fs/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,8 @@ def getmodified(self, path):
681681
timestamp = self.getinfo(path, ("details", "modified")).modified
682682
if timestamp is None:
683683
raise Unsupported(
684-
"Last modified time is not supported by the filesystem for the requested resource: "
684+
"Last modified time is not supported by the filesystem"
685+
+ "for the requested resource: "
685686
+ path
686687
)
687688
else:

fs/copy.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ def _source_is_newer(src_fs, src_path, dst_fs, dst_path):
9797
"""
9898
try:
9999
if dst_fs.exists(dst_path):
100-
namespace = ("details", "modified")
101100
src_modified = src_fs.getmodified(src_path)
102101
if src_modified is not None:
103102
dst_modified = dst_fs.getmodified(dst_path)

0 commit comments

Comments
 (0)