From 63e937cf144f0c61811bb6d842cfc22838a6b851 Mon Sep 17 00:00:00 2001 From: James Bowes Date: Tue, 2 Oct 2007 21:51:13 -0400 Subject: Fix up recursive pylint and pychecker rules. --- scripts/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit From 5dfdff8f110d8336b4812497428cd5dd1fae2db0 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Wed, 3 Oct 2007 17:33:43 -0400 Subject: - add certmaster-ca --clean option to clean out other certs/csrs - make certmaster-ca output usage if no options passed --- scripts/certmaster-ca | 39 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/certmaster-ca b/scripts/certmaster-ca index d103265..f7982ca 100755 --- a/scripts/certmaster-ca +++ b/scripts/certmaster-ca @@ -6,6 +6,8 @@ # --clean? not sure what it will do import sys +import glob +import os import func import func.certs @@ -20,23 +22,35 @@ def errorprint(stuff): def parseargs(args): - usage = 'certmaster-ca [options]' + usage = 'certmaster-ca