Commit 3ab360b0 authored by Łukasz Nowak's avatar Łukasz Nowak

Not so fast.

This does not work yet.
parent 027c96b1
...@@ -168,7 +168,7 @@ if slap_document.getSlapState() == \'draft\':\n ...@@ -168,7 +168,7 @@ if slap_document.getSlapState() == \'draft\':\n
elif state == "stopped":\n elif state == "stopped":\n
slap_document.requestStop(comment=\'Migration.\', **promise_kw)\n slap_document.requestStop(comment=\'Migration.\', **promise_kw)\n
elif state == "destroyed":\n elif state == "destroyed":\n
slap_document.requestStop(comment=\'Migration, in order to reach destroy.\', **promise_kw)\n raise NotImplementedError\n
slap_document.requestDestroy(comment=\'Migration.\', **promise_kw)\n slap_document.requestDestroy(comment=\'Migration.\', **promise_kw)\n
else:\n else:\n
raise ValueError("Unknown state %s for %s" % (state, slap_document.getRelativeUrl()))\n raise ValueError("Unknown state %s for %s" % (state, slap_document.getRelativeUrl()))\n
......
88 89
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment