Gitiles
Code Review
Sign In
gerrit.opencord.org
/
xos
/
2d95e48d394480aa22596105c9ca469fb5c4c923
/
.
/
planetstack
/
observer
/
deleters
/
slice_deleter.py
blob: 4cb0a72dea806969cbfb6694a92e02f683d90506 [
file
] [
log
] [
blame
]
Sapan Bhatia
dbaf193
2013-09-03 11:28:52 -0400
[
diff
] [
blame
]
1
#from code.models import Slice
2
3
class
SliceDeleter
:
4
model
=
'Slice'
5
6
def
call
(
self
,
pk
):
7
s
=
Slice
.
objects
.
get
(
pk
=
pk
)
8
9
# Proceed with delete