summaryrefslogtreecommitdiffstats
path: root/tests/file_source.py
diff options
context:
space:
mode:
authorRadostin Stoyanov <rstoyanov1@gmail.com>2017-08-26 21:42:00 +0100
committerRadostin Stoyanov <rstoyanov1@gmail.com>2017-08-28 16:00:04 +0100
commit9844b2696efa015c0fd80686459d6d4a65f8f677 (patch)
tree34abcfd4aa248b920e8227923bceefeeef0f0a28 /tests/file_source.py
parent2e10b236687e4c97c983854b4a099fff4dfa9382 (diff)
downloadvirt-bootstrap.git-9844b2696efa015c0fd80686459d6d4a65f8f677.tar.gz
virt-bootstrap.git-9844b2696efa015c0fd80686459d6d4a65f8f677.tar.xz
virt-bootstrap.git-9844b2696efa015c0fd80686459d6d4a65f8f677.zip
UID/GID mapping: Use empty list instead of None
Resolve an issue when only uid_map or only gid_map is specified. We set the default values to None. However, `len(None)` will raise an exception. To avoid this we need to set the default values to [] (empty list).
Diffstat (limited to 'tests/file_source.py')
0 files changed, 0 insertions, 0 deletions