test-in-lxc: Allow setting KEEP_DATA with an environment variable instead of modifying the script
provision-testing-environment: patch pkg_resources.py bug.

The version of python3-pkg-resources shipped on Precise has a bug which
causes spurious output which breaks some of our tests:

Issue #341 in distribute (< 0.6.33).
See: https://bitbucket.org/tarek/distribute/issue/341
See also comments in this merge request:
https://code.launchpad.net/~sylvain-pineau/checkbox/xlsx_exporter/+merge/166032

This applies a patch to fix this bug "on the fly", on the testing
container, to avoid having to work around that in our code. This is
attempted only if we're using LXC (for some reason it doesn't happen on
Vagrant), and if it fails we only report it and continue on our way. The
assumption is that, if it failed, it's a non-Precise release where the
fix is unlikely to be needed. This avoids introducing release-detection
logic.
make "success" as a "updater" property so can use in other dialog
providers:certification: include submission-resources job in certification whitelists
.gitignore: ignore *.pyc files

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
checkbox-support:scripts: fix descriptor leak in test_gputest_benchmark.py

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
checkbox-support:setup: use io for open()

The version of open() from the io module is more akin the python3.x
counterpart and supports the encoding= argument

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
checkbox-support:setup: depend on configparser on python2.7

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
checkbox-support:tests: add future imports

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
checkbox-support:udev: fix docstring typos

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
checkbox-support:udev: add future imports

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
checkbox-support:dbus: fix docstring typo

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
checkbox-support:dbus: add future imports

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
checkbox-support:contrib:xrandr: add future imports

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
checkbox-support:contrib:xrandr: inherit from object

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
checkbox-support:contrib:xrandr: use is / is not to compare to None

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
checkbox-support:contrib:xrandr: use format() instead of %

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
checkbox-support:contrib:xrandr: fix PEP-8 issue

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
checkbox-support:contrib:xrandr: bump Canonical copyright

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
checkbox-support:lib:dmi: add future imports

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>