From 47d2d37684f8170f4e2e831c4414c31eb735a5cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Sat, 8 Jul 2017 12:08:23 +0000 Subject: [PATCH] Add missing import for setxattr --- certidude/authority.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certidude/authority.py b/certidude/authority.py index 61bfc96..e8de5a1 100644 --- a/certidude/authority.py +++ b/certidude/authority.py @@ -16,7 +16,7 @@ from cryptography.hazmat.primitives.serialization import Encoding from certidude import config, push, mailer, const from certidude import errors from jinja2 import Template -from xattr import getxattr, listxattr +from xattr import getxattr, listxattr, setxattr RE_HOSTNAME = "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])(@(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9]))?$"