diff options
| author | Richard W.M. Jones <rjones@redhat.com> | 2012-07-26 11:13:39 +0100 |
|---|---|---|
| committer | Richard W.M. Jones <rjones@redhat.com> | 2012-08-05 21:46:58 +0100 |
| commit | a126e9a173dc16066cf9357b6cf25288aa05a988 (patch) | |
| tree | 1fe849cc17cb3a43f48290687653f1a4502efd97 /python/run-python-tests | |
| parent | 58fda1fc7fff1ef8bbb2cd6394296d81cd006eb3 (diff) | |
ruby: Allow optional arguments hash to be really optional.
Allow optargs functions to be called as either:
g.mkfs_opts(fs, device)
or:
g.mkfs_opts(fs, device, { optargs hash })
This also preserves backwards compatibility with once_has_no_optargs
functions such as mkfs.
(cherry picked from commit 0f837ec068783a6318ba6f7490b567566bce2aa4)
Diffstat (limited to 'python/run-python-tests')
0 files changed, 0 insertions, 0 deletions
