[CRIU] [PATCH phaul] Fix rpc module name change

Tycho Andersen tycho.andersen at canonical.com
Fri Dec 2 07:14:46 PST 2016


On Fri, Dec 02, 2016 at 02:06:08PM +0300, Cyrill Gorcunov wrote:
> In criu commit f3e412f9004486cbfab285bedf8d47d421551f8a
> the RPC module has been renamed to rpc_pb2.py thus we
> have to reflect this change here too.
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>

Acked-by: Tycho Andersen <tycho.andersen at canonical.com>

> ---
>  phaul/criu_cr.py   | 2 +-
>  phaul/criu_req.py  | 2 +-
>  phaul/p_haul_vz.py | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/phaul/criu_cr.py b/phaul/criu_cr.py
> index 8f25cff..d5131ec 100644
> --- a/phaul/criu_cr.py
> +++ b/phaul/criu_cr.py
> @@ -3,7 +3,7 @@
>  #
>  
>  import logging
> -import pycriu.rpc
> +import pycriu.rpc_pb2
>  import criu_req
>  
>  
> diff --git a/phaul/criu_req.py b/phaul/criu_req.py
> index 36d1e43..864f03a 100644
> --- a/phaul/criu_req.py
> +++ b/phaul/criu_req.py
> @@ -2,7 +2,7 @@
>  # CRIU requests creation and initialization helper methods
>  #
>  
> -import pycriu.rpc
> +import pycriu.rpc_pb2
>  
>  
>  def _build_names(name_strings):
> diff --git a/phaul/p_haul_vz.py b/phaul/p_haul_vz.py
> index 7db51e7..df0231a 100644
> --- a/phaul/p_haul_vz.py
> +++ b/phaul/p_haul_vz.py
> @@ -10,7 +10,7 @@ import criu_cr
>  import criu_api
>  import util
>  import fs_haul_ploop
> -import pycriu.rpc
> +import pycriu.rpc_pb2
>  
>  
>  vz_global_conf = "/etc/vz/vz.conf"
> -- 
> 2.7.4
> 


More information about the CRIU mailing list