mirror of
https://github.com/veops/cmdb.git
synced 2025-08-06 12:53:46 +08:00
fix py2.7 unicode encoding error
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
|
||||
QUERY_CIS_BY_VALUE_TABLE = """
|
||||
SELECT attr.name AS attr_name,
|
||||
@@ -61,3 +63,4 @@ QUERY_CI_BY_TYPE = """
|
||||
FROM c_cis
|
||||
WHERE c_cis.type_id in ({0})
|
||||
"""
|
||||
|
||||
|
Reference in New Issue
Block a user