|
|
@ -1,7 +1,6 @@
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
#
|
|
|
|
#
|
|
|
|
import re
|
|
|
|
import re
|
|
|
|
import data_tree
|
|
|
|
|
|
|
|
from collections import OrderedDict
|
|
|
|
from collections import OrderedDict
|
|
|
|
from itertools import chain
|
|
|
|
from itertools import chain
|
|
|
|
import logging
|
|
|
|
import logging
|
|
|
@ -11,8 +10,6 @@ from functools import wraps
|
|
|
|
import time
|
|
|
|
import time
|
|
|
|
import ipaddress
|
|
|
|
import ipaddress
|
|
|
|
import psutil
|
|
|
|
import psutil
|
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
|
|
|
|
from ..exceptions import JMSException
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UUID_PATTERN = re.compile(r'\w{8}(-\w{4}){3}-\w{12}')
|
|
|
|
UUID_PATTERN = re.compile(r'\w{8}(-\w{4}){3}-\w{12}')
|
|
|
|