Commit a0ccb92e authored by kk's avatar kk Committed by Andrey Vertiprahov
Browse files

move lib/prettyjson to core/prettyjson

parent 0a09852b
......@@ -12,7 +12,7 @@ from mongoengine.document import Document, EmbeddedDocument
from mongoengine.fields import StringField, UUIDField, IntField, ListField, EmbeddedDocumentField
# NOC modules
from noc.lib.prettyjson import to_json
from noc.core.prettyjson import to_json
@six.python_2_unicode_compatible
......
......@@ -24,7 +24,7 @@ import six
import cachetools
# NOC modules
from noc.lib.prettyjson import to_json
from noc.core.prettyjson import to_json
from noc.lib.text import quote_safe_path
from noc.core.model.decorator import on_delete_check
from noc.sa.interfaces.base import StringParameter, IntParameter, BooleanParameter
......
......@@ -15,7 +15,7 @@ from mongoengine.document import Document
from mongoengine.fields import StringField, UUIDField
# NOC modules
from noc.lib.prettyjson import to_json
from noc.core.prettyjson import to_json
from noc.lib.text import quote_safe_path
......
......@@ -24,7 +24,7 @@ from mongoengine.fields import (
import cachetools
# NOC modules
from noc.lib.prettyjson import to_json
from noc.core.prettyjson import to_json
from noc.lib.text import quote_safe_path
from noc.core.model.decorator import on_delete_check
......
......@@ -26,7 +26,7 @@ from mongoengine.fields import (
import cachetools
# NOC modules
from noc.lib.prettyjson import to_json
from noc.core.prettyjson import to_json
from noc.lib.text import quote_safe_path
from noc.core.mongo.fields import PlainReferenceField
from noc.sa.models.profile import Profile
......
......@@ -21,7 +21,7 @@ import cachetools
from noc.main.models.style import Style
from noc.core.mongo.fields import ForeignKeyField
from noc.lib.text import quote_safe_path
from noc.lib.prettyjson import to_json
from core.prettyjson import to_json
from noc.core.model.decorator import on_delete_check
id_lock = Lock()
......
......@@ -16,7 +16,7 @@ from mongoengine import fields
# NOC modules
from noc.lib.text import quote_safe_path
from noc.lib.prettyjson import to_json
from noc.core.prettyjson import to_json
@six.python_2_unicode_compatible
......
......@@ -13,7 +13,7 @@ from mongoengine.fields import StringField, DictField, UUIDField
# Python modules
from noc.lib.text import quote_safe_path
from noc.lib.prettyjson import to_json
from noc.core.prettyjson import to_json
@six.python_2_unicode_compatible
......
......@@ -12,7 +12,7 @@ from mongoengine.document import Document
from mongoengine.fields import StringField, UUIDField
# NOC modules
from noc.lib.prettyjson import to_json
from noc.core.prettyjson import to_json
@six.python_2_unicode_compatible
......
......@@ -12,7 +12,7 @@ from mongoengine.document import Document
from mongoengine.fields import StringField, UUIDField, IntField
# NOC modules
from noc.lib.prettyjson import to_json
from noc.core.prettyjson import to_json
@six.python_2_unicode_compatible
......
......@@ -12,7 +12,7 @@ from mongoengine.document import Document
from mongoengine.fields import StringField, UUIDField
# NOC modules
from noc.lib.prettyjson import to_json
from noc.core.prettyjson import to_json
@six.python_2_unicode_compatible
......
......@@ -12,7 +12,7 @@ from mongoengine.document import Document
from mongoengine.fields import StringField, UUIDField, DictField
# NOC modules
from noc.lib.prettyjson import to_json
from noc.core.prettyjson import to_json
@six.python_2_unicode_compatible
......
......@@ -18,7 +18,7 @@ from mongoengine.fields import StringField, UUIDField, IntField, BooleanField
import cachetools
# NOC modules
from noc.lib.prettyjson import to_json
from noc.core.prettyjson import to_json
from noc.lib.text import quote_safe_path
from noc.core.model.decorator import on_delete_check
......
......@@ -19,7 +19,7 @@ import cachetools
# NOC modules
from noc.main.models.doccategory import category
from noc.lib.prettyjson import to_json
from core.prettyjson import to_json
from noc.lib.text import quote_safe_path
from noc.core.model.decorator import on_delete_check
......
......@@ -15,7 +15,7 @@ from mongoengine.document import Document, EmbeddedDocument
from mongoengine.fields import StringField, UUIDField, ListField, EmbeddedDocumentField
# NOC modules
from noc.lib.prettyjson import to_json
from noc.core.prettyjson import to_json
from noc.lib.text import quote_safe_path
from noc.core.model.decorator import on_delete_check
......
......@@ -23,7 +23,7 @@ from mongoengine.fields import (
# NOC modules
from noc.core.mongo.fields import PlainReferenceField
from noc.lib.prettyjson import to_json
from noc.core.prettyjson import to_json
from noc.lib.text import quote_safe_path
from noc.main.models.doccategory import category
from noc.core.model.decorator import on_delete_check
......
......@@ -25,7 +25,7 @@ from .vendor import Vendor
from noc.sa.models.profile import Profile
from noc.core.mongo.fields import PlainReferenceField
from noc.core.bi.decorator import bi_sync
from noc.lib.prettyjson import to_json
from noc.core.prettyjson import to_json
from noc.core.model.decorator import on_delete_check
id_lock = threading.Lock()
......
......@@ -33,7 +33,7 @@ from .unknownmodel import UnknownModel
from .vendor import Vendor
from noc.main.models.doccategory import category
from noc.core.mongo.fields import PlainReferenceField
from noc.lib.prettyjson import to_json
from noc.core.prettyjson import to_json
from noc.lib.text import quote_safe_path
from noc.core.model.decorator import on_delete_check, on_save
......
......@@ -27,7 +27,7 @@ from bson.int64 import Int64
from noc.core.mongo.fields import PlainReferenceField, DateField
from noc.core.model.decorator import on_delete_check
from noc.core.bi.decorator import bi_sync, new_bi_id
from noc.lib.prettyjson import to_json
from noc.core.prettyjson import to_json
from noc.models import get_model
from .vendor import Vendor
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment