mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 23:19:09 +08:00
Fix: spelling mistakes
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# -*- coding:utf-8 -*-
|
# -*- coding:utf-8 -*-
|
||||||
|
|
||||||
|
|
||||||
import json
|
import json
|
||||||
@@ -83,7 +83,7 @@ class AttributeHistoryManger(object):
|
|||||||
|
|
||||||
username = UserCache.get(record.uid).nickname or UserCache.get(record.uid).username
|
username = UserCache.get(record.uid).nickname or UserCache.get(record.uid).username
|
||||||
timestamp = record.created_at.strftime("%Y-%m-%d %H:%M:%S")
|
timestamp = record.created_at.strftime("%Y-%m-%d %H:%M:%S")
|
||||||
attr_history = AttributeHistory.get_By(record_id=record_id, to_dict=False)
|
attr_history = AttributeHistory.get_by(record_id=record_id, to_dict=False)
|
||||||
rel_history = CIRelationHistory.get_by(record_id=record_id, to_dict=False)
|
rel_history = CIRelationHistory.get_by(record_id=record_id, to_dict=False)
|
||||||
|
|
||||||
attr_dict, rel_dict = dict(), {"add": [], "delete": []}
|
attr_dict, rel_dict = dict(), {"add": [], "delete": []}
|
||||||
|
Reference in New Issue
Block a user