Skip to content

Commit d324704

Browse files
committed
Removed unused code
1 parent 9840a04 commit d324704

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

lib/core/option.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,9 +1194,6 @@ def __cleanupOptions():
11941194
if conf.data:
11951195
conf.data = urldecode(conf.data)
11961196

1197-
if conf.template:
1198-
map(lambda x: conf.__setitem__(x, True), ['tor', 'flushSession', 'batch', 'getBanner', 'getCurrentUser', 'getCurrentDb', 'getDbs', 'randomAgent'])
1199-
12001197
def __setConfAttributes():
12011198
"""
12021199
This function set some needed attributes into the configuration

lib/parse/cmdline.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,9 +535,6 @@ def cmdLineParser():
535535
parser.add_option("--group-concat", dest="groupConcat", action="store_true",
536536
default=False, help=SUPPRESS_HELP)
537537

538-
parser.add_option("--template", dest="template", action="store_true",
539-
default=False, help=SUPPRESS_HELP)
540-
541538
parser.add_option_group(target)
542539
parser.add_option_group(request)
543540
parser.add_option_group(optimization)

0 commit comments

Comments
 (0)