Author: waldi Date: Thu Mar 13 09:03:35 2008 New Revision: 10822 Log: bin/process.py: Bail out on more then necessary arguments.
Modified: people/waldi/utils/kconfigeditor2/bin/process.py Modified: people/waldi/utils/kconfigeditor2/bin/process.py ============================================================================== --- people/waldi/utils/kconfigeditor2/bin/process.py (original) +++ people/waldi/utils/kconfigeditor2/bin/process.py Thu Mar 13 09:03:35 2008 @@ -47,6 +47,9 @@ opts, args = options.parse_args() + if len(args) > 1: + raise RuntimeError("Too much arguments.") + linux_root = args[0] package_root = opts.package or linux_root config_output = opts.config_output or os.path.join(package_root, 'debian/config') _______________________________________________ Kernel-svn-changes mailing list Kernel-svn-changes@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes