mirror of https://github.com/veops/cmdb.git
Fix: spelling mistakes
This commit is contained in:
parent
e69404bada
commit
91647767ed
|
@ -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": []}
|
||||||
|
|
Loading…
Reference in New Issue