Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zmops-test
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sanshi
zmops-test
Commits
46f04e1a
Commit
46f04e1a
authored
Nov 26, 2019
by
sanshi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trigger数据库类 bug
parent
743901ad
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
1 deletion
+1
-1
test_hosttype_delete.py
WorkCase/APP/HostType/test_hosttype_delete.py
+0
-0
test_hosttype_update.py
WorkCase/APP/HostType/test_hosttype_update.py
+0
-0
triggers.py
WorkData/Zabbix/triggers.py
+1
-1
No files found.
WorkCase/APP/HostType/test_hosttype_delete.py
0 → 100644
View file @
46f04e1a
WorkCase/APP/HostType/test_hosttype_update.py
0 → 100644
View file @
46f04e1a
WorkData/Zabbix/triggers.py
View file @
46f04e1a
...
...
@@ -87,7 +87,7 @@ class DataTriggers(object):
self
.
log
.
debug
(
"查询数据库:"
)
try
:
self
.
log
.
debug
(
"删除相关测试数据"
)
session
.
query
(
self
.
table
)
.
filte
(
self
.
table
.
description
.
like
(
description
+
"
%
"
))
.
delete
(
synchronize_session
=
False
)
session
.
query
(
self
.
table
)
.
filte
r
(
self
.
table
.
description
.
like
(
description
+
"
%
"
))
.
delete
(
synchronize_session
=
False
)
# session.delete(sql)
session
.
commit
()
session
.
close
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment