Re: [lxc-devel] [PATCH 2/3] python: Add binding for {get|set}_cgroup_item

2012-12-09 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > Updates the binding for the two new functions. > > This also fixes some problems with the argument checking of > get_config_item that'd otherwise lead to a segfault. > > The python binding for set_cgroup_item and get_cgroup_item are pretty > raw as

[lxc-devel] [PATCH 2/3] python: Add binding for {get|set}_cgroup_item

2012-12-07 Thread Stéphane Graber
Updates the binding for the two new functions. This also fixes some problems with the argument checking of get_config_item that'd otherwise lead to a segfault. The python binding for set_cgroup_item and get_cgroup_item are pretty raw as lxc has little control over the cgroup entries. That means t