mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-11-15 23:18:04 +00:00
Scope management.
This commit is contained in:
1 parent
92e8e4d8d9
commit
b996001c95
1 file changed
+1
-4
+1
-4
@@ -96,9 +96,6 @@ defaults = {
|
||||
"commonexclusions" : ["hulu.com"],
|
||||
"whitelistfile" : os.path.join(BASEDIR_PATH, "whitelist")}
|
||||
|
||||
options = {}
|
||||
settings = {}
|
||||
|
||||
def main():
|
||||
|
||||
parser = argparse.ArgumentParser(description="Creates a unified hosts file from hosts stored in data subfolders.")
|
||||
@@ -109,7 +106,7 @@ def main():
|
||||
parser.add_argument("--output", "-o", dest="outputsubfolder", default="", help="Output subfolder for generated hosts file.")
|
||||
parser.add_argument("--noupdate", "-n", dest="noupdate", default=False, action='store_true', help="Don't update from host data sources.")
|
||||
|
||||
global defaults, options, settings
|
||||
global settings
|
||||
|
||||
options = vars(parser.parse_args())
|
||||
|
||||
|
||||
Reference in new issue
Block a user