[lxc-devel] [lxc/lxc] 44b97d: python3: Add list_containers to C API

GitHub noreply at github.com
Wed Nov 27 03:29:57 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 44b97d6191fc31545b347be1c27b430bfe36de92
      https://github.com/lxc/lxc/commit/44b97d6191fc31545b347be1c27b430bfe36de92
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2013-11-26 (Tue, 26 Nov 2013)

  Changed paths:
    M src/python-lxc/lxc.c
    M src/python-lxc/lxc/__init__.py

  Log Message:
  -----------
  python3: Add list_containers to C API

This adds a new list_containers function to the python3 binding and a
matching override in __init__.py that adds the as_object parameter.

This should be compatible to the previous pure python implementation
with the advantage of also listing active non-defined containers (fixing
github issue #68).

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>





More information about the lxc-devel mailing list