summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSeth Vidal <skvidal@fedoraproject.org>2007-10-03 07:56:21 -0400
committerSeth Vidal <skvidal@fedoraproject.org>2007-10-03 07:56:21 -0400
commitcccce6ade18ec60ea3e5418e14f8187b3a8f789a (patch)
tree2a18667d0d9b47682a67a3076cfdf91e5a8c923e /scripts
parent66fc8600c90f5308a11de6895650441743396c8c (diff)
parent63e937cf144f0c61811bb6d842cfc22838a6b851 (diff)
downloadfunc-cccce6ade18ec60ea3e5418e14f8187b3a8f789a.tar.gz
func-cccce6ade18ec60ea3e5418e14f8187b3a8f789a.tar.xz
func-cccce6ade18ec60ea3e5418e14f8187b3a8f789a.zip
Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func
* 'master' of ssh://git.fedoraproject.org/git/hosted/func: Fix up recursive pylint and pychecker rules. Moved code under the func namespace. Exit program after listing minions. Added func --list-minions option. changes to use the new command line modules add command.py from MOAP http://thomas.apestaart.org/moap/trac
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/Makefile3
-rwxr-xr-xscripts/func4
2 files changed, 4 insertions, 3 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index 86a3db8..a4cc7e1 100755
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -15,5 +15,6 @@ pychecker::
@$(PYCHECKER) $(PYFILES) || exit 0
pyflakes::
+ifneq ($(PYFILES)x, x)
@$(PYFLAKES) $(PYFILES) || exit 0
-
+endif
diff --git a/scripts/func b/scripts/func
index 2afb4e7..5e069f8 100755
--- a/scripts/func
+++ b/scripts/func
@@ -8,7 +8,7 @@ import distutils.sysconfig
import func.overlord.client as client
myname, argv = sys.argv[0], sys.argv[1:]
-cli = client.FuncCommandLine(myname, argv)
-cli.run()
+cli = client.FuncCommandLine()
+print cli.parse(argv)