summaryrefslogtreecommitdiff
path: root/scripts/build-command-op-templates
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2020-05-05 14:50:59 +0200
committerJernej Jakob <jernej.jakob@gmail.com>2020-05-05 16:19:00 +0200
commit5fdd21714536a69348adbfdb97370c3201b401be (patch)
tree3340f0e5503d6afb2288804d8564d6d5b2e4b849 /scripts/build-command-op-templates
parent9afb06a0187c437f01e5de498851b94025cf9dd8 (diff)
downloadvyos-1x-5fdd21714536a69348adbfdb97370c3201b401be.tar.gz
vyos-1x-5fdd21714536a69348adbfdb97370c3201b401be.zip
config: T2427: always return copies of lists
Since lists in python are assigned by reference, taking the return value from these functions and modifying it will modify all other return values of functions that called the function before and did not explicitly copy it. To be safe, always make a copy of lists before returning them.
Diffstat (limited to 'scripts/build-command-op-templates')
0 files changed, 0 insertions, 0 deletions