From 0a15ae8be6700ac53e8a9e703367ccb51d03ba36 Mon Sep 17 00:00:00 2001 From: Arash Rouhani Date: Mon, 7 Nov 2016 15:19:31 +0700 Subject: [PATCH] file.py: Remove deprecated File class --- luigi/file.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/luigi/file.py b/luigi/file.py index f616164d72..2f595c1343 100644 --- a/luigi/file.py +++ b/luigi/file.py @@ -175,9 +175,3 @@ def fn(self): def __del__(self): if self.is_tmp and self.exists(): self.remove() - - -class File(LocalTarget): - def __init__(self, *args, **kwargs): - warnings.warn("File has been renamed LocalTarget", DeprecationWarning, stacklevel=2) - super(File, self).__init__(*args, **kwargs)