Home
last modified time | relevance | path

Searched refs:GetoptError (Results 1 – 25 of 54) sorted by relevance

123

/external/python/cpython2/Lib/
Dgetopt.py38 class GetoptError(Exception): class
49 error = GetoptError # backward compatibility
156 raise GetoptError('option --%s requires argument' % opt, opt)
159 raise GetoptError('option --%s must not have an argument' % opt, opt)
169 raise GetoptError('option --%s not recognized' % opt, opt)
179 raise GetoptError('option --%s not a unique prefix' % opt, opt)
193 raise GetoptError('option -%s requires argument' % opt,
206 raise GetoptError('option -%s not recognized' % opt, opt)
/external/python/cpython3/Lib/
Dgetopt.py43 class GetoptError(Exception): class
54 error = GetoptError # backward compatibility
161 raise GetoptError(_('option --%s requires argument') % opt, opt)
164 raise GetoptError(_('option --%s must not have an argument') % opt, opt)
174 raise GetoptError(_('option --%s not recognized') % opt, opt)
184 raise GetoptError(_('option --%s not a unique prefix') % opt, opt)
198 raise GetoptError(_('option -%s requires argument') % opt,
211 raise GetoptError(_('option -%s not recognized') % opt, opt)
/external/fonttools/Lib/fontTools/
Dttx.py145 raise getopt.GetoptError("The -d option value must be an existing directory")
177 raise getopt.GetoptError(
202 raise getopt.GetoptError(
214 raise getopt.GetoptError("-q and -v options are mutually exclusive")
222 raise getopt.GetoptError("-m and --flavor options are mutually exclusive")
224 raise getopt.GetoptError("-t and -x options are mutually exclusive")
226 raise getopt.GetoptError("Must specify exactly one TTX source file when using -m")
228 raise getopt.GetoptError("--with-zopfli option requires --flavor 'woff'")
340 raise getopt.GetoptError('Must specify at least one input file')
344 raise getopt.GetoptError('File not found: "%s"' % input)
[all …]
/external/fonttools/Tests/ttx/
Dttx_test.py70 with self.assertRaises(getopt.GetoptError) as cm:
78 with self.assertRaises(getopt.GetoptError) as cm:
348 with pytest.raises(getopt.GetoptError):
416 with pytest.raises(getopt.GetoptError):
471 with pytest.raises(getopt.GetoptError):
496 with pytest.raises(getopt.GetoptError):
501 with pytest.raises(getopt.GetoptError):
506 with pytest.raises(getopt.GetoptError):
511 with pytest.raises(getopt.GetoptError):
516 with pytest.raises(getopt.GetoptError):
[all …]
/external/python/cpython3/Tools/scripts/
Dfindlinksto.py16 raise getopt.GetoptError('not enough arguments', None)
17 except getopt.GetoptError as msg:
/external/python/cpython2/Tools/scripts/
Dfindlinksto.py16 raise getopt.GetoptError('not enough arguments', None)
17 except getopt.GetoptError, msg:
/external/scapy/scapy/tools/
Dcheck_asdis.py41 raise getopt.GetoptError("Missing pcap file (-i)")
43 except getopt.GetoptError as e:
DUTscapy.py725 raise getopt.GetoptError("Unknown output format %s" % msg)
750 raise getopt.GetoptError("Unknown output format %s" % msg)
776 raise getopt.GetoptError("cannot import [%s]: %s" % (SCAPY,e))
783 raise getopt.GetoptError("cannot import [%s]: %s" % (m,e))
785 except getopt.GetoptError as msg:
/external/python/cpython2/Doc/library/
Dgetopt.rst53 will not match uniquely, so :exc:`GetoptError` will be raised.
80 .. exception:: GetoptError
91 Introduced :exc:`GetoptError` as a synonym for :exc:`error`.
96 Alias for :exc:`GetoptError`; for backward compatibility.
130 except getopt.GetoptError as err:
/external/python/cpython3/Lib/test/
Dtest_getopt.py22 self.assertRaises(getopt.GetoptError, *args, **kwargs)
181 self.assertRaises(getopt.GetoptError, getopt.getopt, ['--help='], '', ['help'])
/external/python/cpython3/Doc/library/
Dgetopt.rst53 not match uniquely, so :exc:`GetoptError` will be raised.
78 .. exception:: GetoptError
91 Alias for :exc:`GetoptError`; for backward compatibility.
125 except getopt.GetoptError as err:
/external/python/cpython2/Lib/test/
Dtest_getopt.py22 self.assertRaises(getopt.GetoptError, *args, **kwargs)
181 self.assertRaises(getopt.GetoptError, getopt.getopt, ['--help='], '', ['help'])
/external/python/cpython2/Mac/scripts/
Dcachersrc.py30 except (getopt.GetoptError, NoArgsError):
/external/autotest/server/samples/
Drun_test.srv23 except getopt.GetoptError, e:
/external/llvm-project/llvm/utils/lit/lit/builtin_commands/
Dcat.py39 except getopt.GetoptError as err:
/external/fonttools/MetaTools/
DroundTrip.py71 except getopt.GetoptError:
/external/autotest/contrib/
Dmodelviz.py183 except getopt.GetoptError, error:
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/
Dp2p_flush.py124 except getopt.GetoptError:
Dp2p_disconnect.py124 except getopt.GetoptError:
Dp2p_stop_find.py129 except getopt.GetoptError:
Dp2p_listen.py125 except getopt.GetoptError:
Dp2p_find.py135 except getopt.GetoptError:
/external/cldr/tools/scripts/
Dcldr-svnprops-check.py194 except getopt.GetoptError:
/external/capstone/suite/cstest/
Dcstest_report.py98 except getopt.GetoptError:
/external/ltp/testcases/realtime/tools/
Dftqviz.py131 except GetoptError:

123