[3/6] test: import pycriu by its right name

Submitted by Andrey Vagin on May 30, 2018, 6:39 p.m.

Details

Message ID 20180530183939.32310-4-avagin@virtuozzo.com
State New
Series "More changes to be compatible with python 3"
Headers show

Commit Message

Andrey Vagin May 30, 2018, 6:39 p.m.
Otherwise one library will be imported twice by two different names: py
and pycriu, because pycriu is used in the library.

https://github.com/checkpoint-restore/criu/issues/495
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
---
 test/crit-recode.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/test/crit-recode.py b/test/crit-recode.py
index 27cc61550..0d4b31777 100755
--- a/test/crit-recode.py
+++ b/test/crit-recode.py
@@ -1,6 +1,6 @@ 
 #!/bin/env python2
 
-import py as pycriu
+import pycriu
 import sys
 import os
 import subprocess