diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-06-05 11:37:39 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-06-05 11:37:39 +0100 |
commit | 422325b12d1e8fba90cd92d27968125e00bca40f (patch) | |
tree | 392c4d9eafdd96594a047c07bfbe089f5326db17 | |
parent | 28ca48c1935f7088b2f6278be6e7c7090891b382 (diff) | |
download | sandboxlib-422325b12d1e8fba90cd92d27968125e00bca40f.tar.gz |
linux-user-chroot: Allow None for filesystem_writable_paths
Previously only 'none' (as a string) was allowed.
-rw-r--r-- | sandboxlib/linux_user_chroot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sandboxlib/linux_user_chroot.py b/sandboxlib/linux_user_chroot.py index c397d8f..7fe1b26 100644 --- a/sandboxlib/linux_user_chroot.py +++ b/sandboxlib/linux_user_chroot.py @@ -232,7 +232,7 @@ def process_writable_paths(fs_root, writable_paths): extra_linux_user_chroot_args = [] else: if type(writable_paths) != list: - assert writable_paths == 'none' + assert writable_paths in [None, 'none'] writable_paths = [] # FIXME: It's rather annoying that we have to convert the |