8 | | try: |
9 | | # When was the target file modified last time? |
10 | | target_last_modified = self.storage.get_modified_time(prefixed_path) |
11 | | except (OSError, NotImplementedError, AttributeError): |
12 | | # The storage doesn't support get_modified_time() or failed |
13 | | pass |
14 | | else: |
15 | | try: |
16 | | # When was the source file modified last time? |
17 | | source_last_modified = source_storage.get_modified_time(path) |
18 | | except (OSError, NotImplementedError, AttributeError): |
19 | | pass |
| 8 | try: |
| 9 | # When was the target file modified last time? |
| 10 | target_last_modified = self.storage.get_modified_time(prefixed_path) |
| 11 | except (OSError, NotImplementedError, AttributeError): |
| 12 | # The storage doesn't support get_modified_time() or failed |
| 13 | pass |
| 14 | else: |
| 15 | try: |
| 16 | # When was the source file modified last time? |
| 17 | source_last_modified = source_storage.get_modified_time(path) |
| 18 | except (OSError, NotImplementedError, AttributeError): |
| 19 | pass |