summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
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)