diff options
author | Noel Power <noel.power@suse.com> | 2018-12-06 14:18:08 +0000 |
---|---|---|
committer | Noel Power <npower@samba.org> | 2018-12-10 10:38:24 +0100 |
commit | cc11f71820c9669488bed9f1b02c815776d6d0c3 (patch) | |
tree | f2c18d9a9564e97c396d08b1125cfe415801bc32 /.gitlab-ci-private.yml | |
parent | b209def154c5427a62362ae903d432959e7260d2 (diff) | |
download | samba-cc11f71820c9669488bed9f1b02c815776d6d0c3.tar.gz |
auth/credentials/tests: Python 3.6 avoid deepcopy error
In PY3 both deepcopy & (shallow)copy fail with
Traceback (most recent call last):
File "auth/credentials/tests/bind.py", line 42, in <module>
creds_machine = copy.copy(creds)
File "/usr/lib64/python3.6/copy.py", line 96, in copy
rv = reductor(4)
TypeError: can't pickle credentials.Credentials objects
This patch avoids the nasty copies but creating and populating the
Credential objects instead of copying
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to '.gitlab-ci-private.yml')
0 files changed, 0 insertions, 0 deletions