• Tycho Andersen's avatar
    python lib: rename rpc.py to rpc_pb2.py · f3e412f9
    Tycho Andersen authored
    Unfortunately, newer versions of protobuf check that the file suffix ends
    in _pb2.py:
    
    sudo ./zdtm.py run -t zdtm/static/apparmor_stacking
    Traceback (most recent call last):
      File "./zdtm.py", line 23, in <module>
        import criu as crpc
      File "/home/ubuntu/criu/test/criu.py", line 12, in <module>
        import rpc
      File "/home/ubuntu/criu/test/rpc.py", line 36, in <module>
        type=None),
      File "/usr/lib/python2.7/dist-packages/google/protobuf/descriptor.py", line 652, in __new__
        _message.Message._CheckCalledFromGeneratedFile()
    TypeError: Descriptors should not be created directly, but only retrieved from their parent.
    
    v2: fix up the clean target, and remove some comments that were about the
        old rename
    Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
    CC: Laurent Dufour <ldufour@linux.vnet.ibm.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    f3e412f9
Name
Last commit
Last update
..
inhfd Loading commit data...
jenkins Loading commit data...
others Loading commit data...
zdtm Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
abrt.sh Loading commit data...
check_actions.py Loading commit data...
crit-recode.py Loading commit data...
criu.py Loading commit data...
groups.desc Loading commit data...
inhfd.desc Loading commit data...
rpc_pb2.py Loading commit data...
show_action.sh Loading commit data...
umount2.c Loading commit data...
zdtm.desc Loading commit data...
zdtm.py Loading commit data...
zdtm_ct.c Loading commit data...
zdtm_mount_cgroups Loading commit data...