[kernel] r10831 - people/waldi/utils/kconfigeditor2/bin
Bastian Blank
waldi at alioth.debian.org
Thu Mar 13 11:30:13 UTC 2008
Author: waldi
Date: Thu Mar 13 11:30:11 2008
New Revision: 10831
Log:
bin/process.py: Also bail out if given no argument.
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 11:30:11 2008
@@ -48,7 +48,9 @@
opts, args = options.parse_args()
if len(args) > 1:
- raise RuntimeError("Too much arguments.")
+ options.error("Too much arguments.")
+ elif len(args) < 1:
+ options.error("Too less arguments")
linux_root = args[0]
package_root = opts.package or linux_root
More information about the Kernel-svn-changes
mailing list