Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
mentha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
rank
mentha
Commits
b7d859e3
Commit
b7d859e3
authored
4 years ago
by
李小芳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get_highlight_v2
parent
8360ae92
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
transfer.py
data_sync/tractate/transfer.py
+1
-1
tractate.py
talos/models/tractate/tractate.py
+1
-1
No files found.
data_sync/tractate/transfer.py
View file @
b7d859e3
...
@@ -300,7 +300,7 @@ def get_tractate(pks):
...
@@ -300,7 +300,7 @@ def get_tractate(pks):
item
[
"operate_tags_v4"
]
=
list
(
tagv4
)
item
[
"operate_tags_v4"
]
=
list
(
tagv4
)
data
.
append
(
item
)
data
.
append
(
item
)
logging
.
info
(
"get data:
%
s"
%
data
)
#
logging.info("get data:%s" % data)
return
data
return
data
except
:
except
:
logging
.
error
(
"catch exception,logins:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,logins:
%
s"
%
traceback
.
format_exc
())
...
...
This diff is collapsed.
Click to expand it.
talos/models/tractate/tractate.py
View file @
b7d859e3
...
@@ -329,7 +329,7 @@ class Tractate(models.Model):
...
@@ -329,7 +329,7 @@ class Tractate(models.Model):
try
:
try
:
res_list
=
[]
res_list
=
[]
result
=
r
[
'pims/catalog/usertags/ids2tag'
](
ids
=
ids
)
.
unwrap
()
result
=
r
[
'pims/catalog/usertags/ids2tag'
](
ids
=
ids
)
.
unwrap
()
print
(
"result"
,
result
)
logging
.
info
(
"get result:
%
s"
,
result
)
res_list
=
result
.
get
(
"result"
,
[])
res_list
=
result
.
get
(
"result"
,
[])
except
Exception
:
except
Exception
:
return
[]
return
[]
...
...
This diff is collapsed.
Click to expand it.
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