mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-08-24 21:21:52 +02:00
Remove unused class
This commit is contained in:
parent
6c37680315
commit
becd35461f
@ -9,14 +9,6 @@ from pathlib import Path
|
||||
from collections import defaultdict,OrderedDict
|
||||
from lib.data import dataFileBase,DataType,method,state,excitationValue
|
||||
import argparse
|
||||
class SetsAction(argparse.Action):
|
||||
def __init__(self, option_strings, dest, nargs=None, **kwargs):
|
||||
if nargs is not None:
|
||||
raise ValueError("nargs not allowed")
|
||||
super(SetsAction, self).__init__(option_strings, dest, **kwargs)
|
||||
def __call__(self, parser, namespace, values, option_string=None):
|
||||
print('%r %r %r' % (namespace, values, option_string))
|
||||
setattr(namespace, self.dest, values)
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--debug', action='store_true', help='Debug mode')
|
||||
parser.add_argument("--set",nargs="*",type=str)
|
||||
|
Loading…
Reference in New Issue
Block a user