]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/ceph_argparse: remove dead code
authorSage Weil <sage@newdream.net>
Sat, 22 May 2021 16:59:14 +0000 (12:59 -0400)
committerSage Weil <sage@newdream.net>
Tue, 1 Jun 2021 18:45:11 +0000 (14:45 -0400)
Signed-off-by: Sage Weil <sage@newdream.net>
src/pybind/ceph_argparse.py

index c5b813ddcaa970beaee284ac82524304e268f2ac..e401ef0c3428bd3bc9d6e52393eab21f4f3f11d6 100644 (file)
@@ -1159,10 +1159,6 @@ def validate(args: List[str],
                 # argdesc for the keyword argument, if we find one
                 kwarg_desc = None
 
-                # Track whether we need to push value back onto
-                # myargs in the case that this isn't a valid k=v
-                consumed_next = False
-
                 # Try both styles of keyword argument
                 kwarg_match = re.match(KWARG_EQUALS, myarg)
                 if kwarg_match: