filter_plugins/systemd_escape: Fix missing import sys for testing purposes

dehydrated
Felix Stupp 4 years ago
parent 441dbddc9c
commit 057baa9c22
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -1,6 +1,7 @@
from functools import partial from functools import partial
import re import re
import subprocess import subprocess
import sys
from ansible.errors import AnsibleFilterError from ansible.errors import AnsibleFilterError
@ -30,4 +31,3 @@ class FilterModule(object):
if __name__ == '__main__': if __name__ == '__main__':
print(systemd_escape(sys.argv[1])) print(systemd_escape(sys.argv[1]))

Loading…
Cancel
Save