aboutsummaryrefslogtreecommitdiffstats
path: root/whitelist.py
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2014-12-30 10:56:22 +0100
committerMatěj Cepl <mcepl@cepl.eu>2014-12-30 10:56:22 +0100
commitb51ede52742e2b94c77b83959cda081bad9675dd (patch)
tree939d4357897c9b37eacfd60eb627c8c456b15d06 /whitelist.py
parent7ec260bf257c3ca25b349ddb481d2f8b636f0056 (diff)
downloadpygn-b51ede52742e2b94c77b83959cda081bad9675dd.tar.gz
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
Diffstat (limited to 'whitelist.py')
-rw-r--r--whitelist.py5
1 files changed, 1 insertions, 4 deletions
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)