From b51ede52742e2b94c77b83959cda081bad9675dd Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Tue, 30 Dec 2014 10:56:22 +0100 Subject: Remove useless debug parameter (not used anywhere). Also rename my email about problems with pygn to *.eml. Fix storing logfile in the current directory, instead of $HOME. Fixes #7 --- whitelist.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'whitelist.py') diff --git a/whitelist.py b/whitelist.py index ea3f646..8d941b9 100644 --- a/whitelist.py +++ b/whitelist.py @@ -26,16 +26,13 @@ class whitelist(object): """ wl = {} - debug = None logf = None # filedescriptor # constants DENY = 0 ACCEPT = 1 - def __init__(self, wlfile='wl.pyg', logfile='pyg.log', debug=0): - - self.debug = debug + def __init__(self, wlfile='wl.pyg', logfile='pyg.log'): try: wlp.setfilebyname(wlfile) -- cgit