Changes between Initial Version and Version 1 of Ticket #26297
- Timestamp:
- Mar 1, 2016, 8:53:21 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26297
- Property Easy pickings unset
- Property Needs tests set
- Property Triage Stage Unreviewed → Accepted
-
Ticket #26297 – Description
initial v1 5 5 6 6 7 {{{ 8 #!div style="font-size: 80%" 9 Code highlighting: 10 {{{#!python 11 full_path = self.storage.path(fpath) 12 if not os.path.exists(full_path) and os.path.lexists(full_path): 13 # Delete broken symlinks 14 os.unlink(full_path) 15 else: 16 self.storage.delete(fpath) 17 }}} 7 {{{#!python 8 full_path = self.storage.path(fpath) 9 if not os.path.exists(full_path) and os.path.lexists(full_path): 10 # Delete broken symlinks 11 os.unlink(full_path) 12 else: 13 self.storage.delete(fpath) 18 14 }}} 19 15 20 16 Patch?: 21 17 22 {{{ 23 #!div style="font-size: 80%" 24 Code highlighting: 25 {{{#!python 26 try: 27 full_path = self.storage.path(fpath) 28 if not os.path.exists(full_path) and os.path.lexists(full_path): 29 # Delete broken symlinks 30 os.unlink(full_path) 31 else: 32 self.storage.delete(fpath) 33 except NotImplementedError: 34 self.storage.delete(fpath) 35 }}} 18 {{{#!python 19 try: 20 full_path = self.storage.path(fpath) 21 if not os.path.exists(full_path) and os.path.lexists(full_path): 22 # Delete broken symlinks 23 os.unlink(full_path) 24 else: 25 self.storage.delete(fpath) 26 except NotImplementedError: 27 self.storage.delete(fpath) 36 28 }}}