From 689de9a3dcdc7ea67d6aac9d0aa340ea66ff98d9 Mon Sep 17 00:00:00 2001 From: Marc Fiuczynski Date: Thu, 1 Feb 2007 14:25:56 +0000 Subject: [PATCH] check if maxslices arg is pased to enableSliceCreation --- plc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plc.py b/plc.py index e78892e..15df417 100644 --- a/plc.py +++ b/plc.py @@ -5,7 +5,7 @@ # Faiyaz Ahmed # Copyright (C) 2006, 2007 The Trustees of Princeton University # -# $Id: plc.py,v 1.2 2007/01/24 19:29:44 mef Exp $ +# $Id: plc.py,v 1.3 2007/02/01 14:20:19 mef Exp $ # from emailTxt import * @@ -224,7 +224,7 @@ def enableSliceCreation(argv): printUsage("requires admin privs") sys.exit(1) - if len(argv) <= 2: + if len(argv) < 2: printUsage("requires maxslice arg") sys.exit(1) -- 2.43.0