diff options
| author | Seth Vidal <skvidal@fedoraproject.org> | 2007-10-03 07:56:21 -0400 |
|---|---|---|
| committer | Seth Vidal <skvidal@fedoraproject.org> | 2007-10-03 07:56:21 -0400 |
| commit | cccce6ade18ec60ea3e5418e14f8187b3a8f789a (patch) | |
| tree | 2a18667d0d9b47682a67a3076cfdf91e5a8c923e /scripts | |
| parent | 66fc8600c90f5308a11de6895650441743396c8c (diff) | |
| parent | 63e937cf144f0c61811bb6d842cfc22838a6b851 (diff) | |
| download | func-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-x | scripts/Makefile | 3 | ||||
| -rwxr-xr-x | scripts/func | 4 |
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) |
