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:
5585b61
)
change client to use (type, hrn) instead of record in remove calls
author
Scott Baker
<bakers@cs.arizona.edu>
Wed, 7 Jan 2009 01:50:53 +0000
(
01:50
+0000)
committer
Scott Baker
<bakers@cs.arizona.edu>
Wed, 7 Jan 2009 01:50:53 +0000
(
01:50
+0000)
util/geniclient.py
patch
|
blob
|
history
diff --git
a/util/geniclient.py
b/util/geniclient.py
index
accf658
..
29f832b
100644
(file)
--- a/
util/geniclient.py
+++ b/
util/geniclient.py
@@
-197,13
+197,11
@@
class GeniClient():
# then the PLC records will also be removed.
#
# @param cred credential object specifying rights of the caller
# then the PLC records will also be removed.
#
# @param cred credential object specifying rights of the caller
- # @param record record to register. The only relevant
- # fields of the record are 'name' and 'type', which are used to lookup
- # the current copy of the record in the Geni database, to make sure
- # that the appopriate record is removed.
+ # @param type
+ # @param hrn
- def remove(self, cred,
record
):
- result = self.server.remove(cred.save_to_string(save_parents=True),
record.as_dict()
)
+ def remove(self, cred,
type, hrn
):
+ result = self.server.remove(cred.save_to_string(save_parents=True),
type, hrn
)
return result
##
return result
##