1
0
mirror of https://github.com/lxc/python2-lxc.git synced 2026-02-05 09:48:07 +01:00

11 Commits

Author SHA1 Message Date
Stéphane Graber
b7ec757d2b Merge pull request #15 from brauner/master
README: update
2018-02-14 12:33:46 -05:00
Christian Brauner
628a898132 README: update
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2018-02-14 18:32:51 +01:00
Stéphane Graber
18a58774e9 Merge pull request #14 from benjaminp/static-functions
mark some internal functions static
2017-12-01 00:42:55 -05:00
Benjamin Peterson
9f86a0b925 mark some internal functions static 2017-11-29 23:38:19 -08:00
Stéphane Graber
f2fa37ea5d Add license
It was mentioned in the file headers but not in a COPYING file.

Closes #13

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2017-10-05 15:21:03 -04:00
Stéphane Graber
0553f05d23 Encoding fixes
Reported-by: Mehdi Laouichi <laouichi.mehdi@gmail.com>
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2014-08-25 15:42:40 -04:00
Stéphane Graber
dc662b361d python3: Fix crashes in snapshot()
This makes sure all PyObject structs are always initialized to NULL,
this will fix issues such as (issue #239).

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
2014-06-10 16:18:48 -04:00
Chuck Short
b95f410611 Handle invalid global config keys
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
2014-06-10 16:14:48 -04:00
Chuck Short
227e22e876 Don't require a template name
The template name isn't required, if it's not passed, then create will
simply be asked to create a container without a rootfs.

Signed-off-by: Chuck Short <chuck.short@canonical.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
2014-06-10 16:14:38 -04:00
Dwight Engen
4692193f7b support building rpm with python setup.py bdist_rpm
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
2014-05-07 09:20:48 -05:00
Stéphane Graber
9541b38038 Initial release of basic python2 binding
This is the first release of a basic out of tree python2 binding. It's
not entirely in sync with the python3 (lacks arch_to_personality) but
otherwise should behave identically.

This binding is not officially supported by LXC upstream as part of
1.0.x nor do we have any plan to include it for any upcoming release. It
is just released as a convenience for those who unfortunately can't yet
use python3.

Thanks to Dwight Engen for the original patchset!

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2014-05-05 22:38:22 -05:00