Merge pull request #1630 from pkess/remove_mtime

removed deprecated checko for mtime!=None
This commit is contained in:
Adrian Sampson 2015-09-30 09:15:56 -07:00
commit d370aa0791

View file

@ -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