From 699344960246b9a8feb5d71adec81d2f057cae0c Mon Sep 17 00:00:00 2001 From: Peter Kessen Date: Wed, 30 Sep 2015 16:40:30 +0200 Subject: [PATCH] removed deprecated checko for mtime!=None --- beetsplug/importadded.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/beetsplug/importadded.py b/beetsplug/importadded.py index de1bcdabc..19d4ecfe8 100644 --- a/beetsplug/importadded.py +++ b/beetsplug/importadded.py @@ -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