Commit b5cdfad7 authored by Michael Tremer's avatar Michael Tremer

location-query: Fix wrong variable name

Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent 43154ed7
......@@ -81,11 +81,11 @@ class CLI(object):
list_networks_by_as.set_defaults(func=self.handle_list_networks_by_as)
# List all networks in a country
search_as = subparsers.add_parser("list-networks-by-cc",
list_networks_by_cc = subparsers.add_parser("list-networks-by-cc",
help=_("Lists all networks in a country"),
)
search_as.add_argument("country_code", nargs=1)
search_as.set_defaults(func=self.handle_list_networks_by_cc)
list_networks_by_cc.add_argument("country_code", nargs=1)
list_networks_by_cc.set_defaults(func=self.handle_list_networks_by_cc)
args = parser.parse_args()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment