From: Marc Fiuczynski Date: Thu, 1 Feb 2007 14:25:56 +0000 (+0000) Subject: check if maxslices arg is pased to enableSliceCreation X-Git-Tag: Monitor-1.0-0~99 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=689de9a3dcdc7ea67d6aac9d0aa340ea66ff98d9;p=monitor.git check if maxslices arg is pased to enableSliceCreation --- 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)