mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
Adapt zdtm for python3 compatibility
As python3 imports are working a bit differently the structure of the imported files needs to change. Instead of having symlinks to criu.py and rpc_pb2.py which does not match the import structure just create symlink to ../lib/py (like crit) to make zdtm usable again with the python3 compatibility. Signed-off-by: Adrian Reber <areber@redhat.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
a390094bd0
commit
a91da7d449
4 changed files with 2 additions and 3 deletions
|
|
@ -1 +0,0 @@
|
|||
../lib/py/criu.py
|
||||
1
test/pycriu
Symbolic link
1
test/pycriu
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../lib/py/
|
||||
|
|
@ -1 +0,0 @@
|
|||
../lib/py/rpc_pb2.py
|
||||
|
|
@ -21,7 +21,7 @@ import errno
|
|||
import datetime
|
||||
import yaml
|
||||
import struct
|
||||
import criu as crpc
|
||||
import pycriu as crpc
|
||||
|
||||
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue