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
(from parent 1:
a8bfc96
)
redefine type after record is resolved
author
Tony Mack
<tmack@cs.princeton.edu>
Tue, 16 Jun 2009 17:52:44 +0000
(17:52 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Tue, 16 Jun 2009 17:52:44 +0000
(17:52 +0000)
geni/methods/remove.py
patch
|
blob
|
history
diff --git
a/geni/methods/remove.py
b/geni/methods/remove.py
index
6ab3d76
..
6ac8ad5
100644
(file)
--- a/
geni/methods/remove.py
+++ b/
geni/methods/remove.py
@@
-37,7
+37,8
@@
class remove(Method):
if not record_list:
raise RecordNotFound(hrn)
record = record_list[0]
-
+
+ type = record['type']
# TODO: sa, ma
if type == "user":
self.api.plshell.DeletePerson(self.api.plauth, record.get_pointer())