Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed unused ads_entry variable

  • Loading branch information...
commit c4ed3cd9414932607134c1e93edeb74bc60a3f8d 1 parent d15a435
@int0x80 authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 privbloxy.py
View
4 privbloxy.py
@@ -27,7 +27,6 @@ def add_ads_action(dir, lines, user_line):
# determine whether ads actionfile entry exists or update
# -----------------------------------------------------------
def check_config(dir):
- ads_entry = False
curr_line = 0
user_line = 0
@@ -37,7 +36,6 @@ def check_config(dir):
# check for ads action file; bail if present
# -----------------------------------------------------------
if line.startswith("actionsfile ads.action"):
- ads_entry = True
break
# -----------------------------------------------------------
# line after user actions was not ads actions
@@ -93,4 +91,4 @@ def set_adlist(dir, url):
adlist_url = "http://pgl.yoyo.org/adservers/serverlist.php?hostformat=one-line&showintro=0&mimetype=plaintext"
check_config(privoxy_dir)
-set_adlist(privoxy_dir, adlist_url)
+set_adlist(privoxy_dir, adlist_url)
Please sign in to comment.
Something went wrong with that request. Please try again.