summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorRich Lowe <richlowe@richlowe.net>2009-03-10 13:53:24 -0600
committerRich Lowe <richlowe@richlowe.net>2009-03-10 13:53:24 -0600
commit05945f8bf9e004c8feb0e1f01f574f2cbb5a485b (patch)
tree65a17be1943e60239a9f7276764de2999f23a5f3 /usr/src
parent2b5878de2735cb61d008168e1f27e390d2edf915 (diff)
downloadillumos-gate-05945f8bf9e004c8feb0e1f01f574f2cbb5a485b.tar.gz
6811454 cdm pbchk crashes if a file list is specified.
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/tools/onbld/hgext/cdm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/tools/onbld/hgext/cdm.py b/usr/src/tools/onbld/hgext/cdm.py
index dce2333b46..976c25bdc7 100644
--- a/usr/src/tools/onbld/hgext/cdm.py
+++ b/usr/src/tools/onbld/hgext/cdm.py
@@ -707,7 +707,7 @@ def cdm_nits(ui, repo, *args, **opts):
return run_checks(wslist[repo], cmds, *args, **opts)
-def cdm_pbchk(ui, repo, *args, **opts):
+def cdm_pbchk(ui, repo, **opts):
'''pre-putback check all active files
Run cddlchk, comchk, copyright, cstyle, hdrchk, jstyle, mapfilechk,
@@ -734,7 +734,7 @@ def cdm_pbchk(ui, repo, *args, **opts):
cdm_outchk,
cdm_mergechk]
- return run_checks(wslist[repo], cmds, *args, **opts)
+ return run_checks(wslist[repo], cmds, **opts)
def cdm_recommit(ui, repo, **opts):