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

Andrei Vagin avagin at virtuozzo.com
Wed May 30 21:39:36 MSK 2018


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 at virtuozzo.com>
---
 test/crit-recode.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.14.3



More information about the CRIU mailing list