Commit b41d04a9 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

GC unused option

parent db83e59a
......@@ -38,7 +38,6 @@ import os
import sys
import re
import optparse
import unittest
import copy
import json
import hashlib
......@@ -1166,16 +1165,8 @@ if __name__ == "__main__":
oparser.add_option('-w', '--rstdir', metavar="directory", default='.',
help='Where to save the generated RST files ' +
'(default: ".")')
oparser.add_option('', '--runtests', action='store_true', default=False,
dest="runtests", help=optparse.SUPPRESS_HELP)
(opts, args) = oparser.parse_args()
if opts.runtests:
# Pop off --runtests, pass remaining to unittest.
del sys.argv[1]
unittest.main()
exit()
i_vcc = None
if len(args) == 1 and os.path.exists(args[0]):
i_vcc = args[0]
......
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