python: Remove init_resource() deprecated API
write_resource() is used to replace init_resource() functionality
as far back as in commit:
commit 3e17957
Author: Federico Simoncelli <fsimonce@redhat.com>
Date: Wed Apr 10 12:09:43 2013 -0400
python: use the write commands in example.py
The init_lockspace/resource commands have been obsoleted, the new ones
are write_lockspace/resource.
The old API was kept to support legacy python2-sanlock consuming code.
Now that python 2 is officialy retired this API can be removed.
Signed-off-by: Amit Bawer <abawer@redhat.com>