File tree Expand file tree Collapse file tree 2 files changed +2
-17
lines changed
Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Original file line number Diff line number Diff line change 2121import sys
2222import tempfile
2323
24- # TODO(dougszu): Backwards compatibility for Ansible 11. This exception
25- # handler can be removed in the G cycle.
26- try :
27- from ansible .parsing .vault import EncryptedString
28- except ImportError :
29- # Ansible 11
30- from ansible .parsing .yaml .objects import AnsibleVaultEncryptedUnicode
31- EncryptedString = AnsibleVaultEncryptedUnicode
24+ from ansible .parsing .vault import EncryptedString
3225
3326from kayobe import exception
3427from kayobe import utils
Original file line number Diff line number Diff line change 1818import unittest
1919from unittest import mock
2020
21- # TODO(dougszu): Backwards compatibility for Ansible 11. This exception
22- # handler can be removed in the G cycle.
23- try :
24- from ansible .parsing .vault import EncryptedString
25- except ImportError :
26- # Ansible 11
27- from ansible .parsing .yaml .objects import AnsibleVaultEncryptedUnicode
28- EncryptedString = AnsibleVaultEncryptedUnicode
29-
21+ from ansible .parsing .vault import EncryptedString
3022import yaml
3123
3224from kayobe import exception
You can’t perform that action at this time.
0 commit comments