diff options
Diffstat (limited to 'policyhandler/utils.py')
-rw-r--r-- | policyhandler/utils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/policyhandler/utils.py b/policyhandler/utils.py index 99e9ed7..685d7d8 100644 --- a/policyhandler/utils.py +++ b/policyhandler/utils.py @@ -1,6 +1,5 @@ # ================================================================================ # Copyright (c) 2018-2020 AT&T Intellectual Property. All rights reserved. -# Copyright 2020 Deutsche Telekom. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -243,7 +242,7 @@ class RegexCoarser(object): @staticmethod def _compress(trie): """compress trie into shortest leaves""" - for key, subtrie in trie.copy().items(): + for key, subtrie in trie.items(): RegexCoarser._compress(subtrie) subkeys = list(subtrie.keys()) if len(subkeys) == 1: |