git://git.onelab.eu
/
monitor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9406a20
)
check if maxslices arg is pased to enableSliceCreation
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Thu, 1 Feb 2007 14:25:56 +0000
(14:25 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Thu, 1 Feb 2007 14:25:56 +0000
(14:25 +0000)
plc.py
patch
|
blob
|
history
diff --git
a/plc.py
b/plc.py
index
e78892e
..
15df417
100644
(file)
--- a/
plc.py
+++ b/
plc.py
@@
-5,7
+5,7
@@
# Faiyaz Ahmed <faiyaza@cs.princeton.edu>
# 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)