From 48e5c8edb3f5877f3234ab86d83bda8e23cfe04b Mon Sep 17 00:00:00 2001 From: Luflosi Date: Thu, 6 Jun 2019 18:03:44 +0200 Subject: [PATCH] Remove unused code As far as I can tell, these attributes are not used anywhere. --- publish.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/publish.py b/publish.py index 8ae857a7a..5764d2ac9 100755 --- a/publish.py +++ b/publish.py @@ -164,12 +164,7 @@ class ReadFileWithProgressReporting(io.BufferedReader): # {{{ class Base(object): # {{{ def __init__(self): - self.d = os.path.dirname - self.j = os.path.join - self.a = os.path.abspath - self.b = os.path.basename - self.s = os.path.splitext - self.e = os.path.exists + pass def info(self, *args, **kwargs): print(*args, **kwargs)