git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c174de
)
fix bug in remove
author
Tony Mack
<tmack@cs.princeton.edu>
Thu, 16 Jul 2009 18:27:28 +0000
(18:27 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Thu, 16 Jul 2009 18:27:28 +0000
(18:27 +0000)
sfa/client/sfi.py
patch
|
blob
|
history
diff --git
a/sfa/client/sfi.py
b/sfa/client/sfi.py
index
f55c66e
..
b2688ff
100755
(executable)
--- a/
sfa/client/sfi.py
+++ b/
sfa/client/sfi.py
@@
-467,7
+467,10
@@
class Sfi:
# - have to first retrieve the record to be removed
def remove(self,opts, args):
auth_cred = self.get_auth_cred()
- return self.registry.remove(auth_cred, opts.type, args[0])
+ type = opts.type
+ if type in ['all']:
+ type = '*'
+ return self.registry.remove(auth_cred, type, args[0])
# add named registry record
def add(self,opts, args):