git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2to3 -f raise
[sfa.git]
/
clientbin
/
setRecord.py
diff --git
a/clientbin/setRecord.py
b/clientbin/setRecord.py
index
405c90d
..
bd77606
100755
(executable)
--- a/
clientbin/setRecord.py
+++ b/
clientbin/setRecord.py
@@
-47,9
+47,9
@@
def editDict(args, recordDict, options):
if vect in recordDict:
del recordDict[vect]
else:
if vect in recordDict:
del recordDict[vect]
else:
- raise TypeError
,
"Argument error: Records are updated with \n" \
+ raise TypeError
(
"Argument error: Records are updated with \n" \
"key=val1,val2,valN or\n" \
"key=val1,val2,valN or\n" \
- "key+=val1,val2,valN \n%s Unknown key/val" % vect
+ "key+=val1,val2,valN \n%s Unknown key/val" % vect
)
def replaceDict(newval, recordDict, options):
def replaceDict(newval, recordDict, options):