mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
removed deprecated checko for mtime!=None
This commit is contained in:
parent
35497ff696
commit
6993449602
1 changed files with 0 additions and 5 deletions
|
|
@ -73,11 +73,6 @@ class ImportAddedPlugin(BeetsPlugin):
|
|||
"""Write the given mtime to an item's `mtime` field and to the mtime
|
||||
of the item's file.
|
||||
"""
|
||||
if mtime is None:
|
||||
self._log.warn(u"No mtime to be preserved for item '{0}'",
|
||||
util.displayable_path(item.path))
|
||||
return
|
||||
|
||||
# The file's mtime on disk must be in sync with the item's mtime
|
||||
self.write_file_mtime(util.syspath(item.path), mtime)
|
||||
item.mtime = mtime
|
||||
|
|
|
|||
Loading…
Reference in a new issue