mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-21 16:38:54 +02:00
mkenums: don't try to call undefined function
argparse will take care about everything Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
This commit is contained in:
@@ -230,9 +230,6 @@ def read_template_file(file):
|
|||||||
if comment_tmpl == "":
|
if comment_tmpl == "":
|
||||||
comment_tmpl = "/* \u0040comment\u0040 */"
|
comment_tmpl = "/* \u0040comment\u0040 */"
|
||||||
|
|
||||||
if len(sys.argv) == 1:
|
|
||||||
usage()
|
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(epilog=help_epilog,
|
parser = argparse.ArgumentParser(epilog=help_epilog,
|
||||||
formatter_class=argparse.RawDescriptionHelpFormatter)
|
formatter_class=argparse.RawDescriptionHelpFormatter)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user