Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
physical
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
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
alpha
physical
Commits
ca7bd328
Commit
ca7bd328
authored
Mar 21, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
fe5b73b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
62 deletions
+57
-62
workspace.xml
.idea/workspace.xml
+56
-62
topic_transfer.py
trans2es/utils/topic_transfer.py
+1
-0
No files found.
.idea/workspace.xml
View file @
ca7bd328
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"d7dd36ca-85ef-4a59-9db5-8b1ee4993a4e"
name=
"Default Changelist"
comment=
""
>
<list
default=
"true"
id=
"d7dd36ca-85ef-4a59-9db5-8b1ee4993a4e"
name=
"Default Changelist"
comment=
""
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
@@ -101,7 +99,7 @@
...
@@ -101,7 +99,7 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/search/views/topic.py"
>
<entry
file=
"file://$PROJECT_DIR$/search/views/topic.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1
020
"
>
<state
relative-caret-position=
"1
5
"
>
<caret
line=
"103"
column=
"37"
selection-start-line=
"103"
selection-start-column=
"32"
selection-end-line=
"103"
selection-end-column=
"37"
/>
<caret
line=
"103"
column=
"37"
selection-start-line=
"103"
selection-start-column=
"32"
selection-end-line=
"103"
selection-end-column=
"37"
/>
<folding>
<folding>
<element
signature=
"e#466#1607#0"
/>
<element
signature=
"e#466#1607#0"
/>
...
@@ -137,8 +135,8 @@
...
@@ -137,8 +135,8 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/trans2es/type_info.py"
>
<entry
file=
"file://$PROJECT_DIR$/trans2es/type_info.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3
465
"
>
<state
relative-caret-position=
"3
07
"
>
<caret
line=
"2
53"
column=
"10"
selection-start-line=
"253"
selection-start-column=
"10"
selection-end-line=
"253"
selection-end-column=
"10
"
/>
<caret
line=
"2
64"
column=
"36"
lean-forward=
"true"
selection-start-line=
"264"
selection-start-column=
"36"
selection-end-line=
"264"
selection-end-column=
"36
"
/>
<folding>
<folding>
<element
signature=
"e#15#87#0"
expanded=
"true"
/>
<element
signature=
"e#15#87#0"
expanded=
"true"
/>
</folding>
</folding>
...
@@ -146,20 +144,20 @@
...
@@ -146,20 +144,20 @@
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/trans2es/mapping/topic.json"
>
<entry
file=
"file://$PROJECT_DIR$/trans2es/mapping/topic.json"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
14
"
>
<state
relative-caret-position=
"
215
"
>
<caret
line=
"
14"
selection-start-line=
"14"
selection-end-line=
"14
"
/>
<caret
line=
"
24"
column=
"16"
selection-start-line=
"24"
selection-start-column=
"5"
selection-end-line=
"24"
selection-end-column=
"16
"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/trans2es/utils/topic_transfer.py"
>
<entry
file=
"file://$PROJECT_DIR$/trans2es/utils/topic_transfer.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
435
"
>
<state
relative-caret-position=
"
1068
"
>
<caret
line=
"
36"
column=
"50"
selection-start-line=
"36"
selection-start-column=
"50"
selection-end-line=
"36"
selection-end-column=
"50
"
/>
<caret
line=
"
75"
column=
"19"
lean-forward=
"true"
selection-start-line=
"75"
selection-start-column=
"19"
selection-end-line=
"75"
selection-end-column=
"19
"
/>
<folding>
<folding>
<element
signature=
"e#46#55#0"
expanded=
"true"
/>
<element
signature=
"e#46#55#0"
expanded=
"true"
/>
</folding>
</folding>
...
@@ -225,6 +223,7 @@
...
@@ -225,6 +223,7 @@
<find>
tag_name_list
</find>
<find>
tag_name_list
</find>
<find>
pictorial
</find>
<find>
pictorial
</find>
<find>
group
</find>
<find>
group
</find>
<find>
update_time
</find>
</findStrings>
</findStrings>
</component>
</component>
<component
name=
"Git.Settings"
>
<component
name=
"Git.Settings"
>
...
@@ -258,11 +257,11 @@
...
@@ -258,11 +257,11 @@
</list>
</list>
</option>
</option>
</component>
</component>
<component
name=
"ProjectFrameBounds"
extendedState=
"6"
>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"-
30
9"
/>
<option
name=
"x"
value=
"-
8
9"
/>
<option
name=
"y"
value=
"
-1079
"
/>
<option
name=
"y"
value=
"
23
"
/>
<option
name=
"width"
value=
"1
89
0"
/>
<option
name=
"width"
value=
"1
92
0"
/>
<option
name=
"height"
value=
"
106
4"
/>
<option
name=
"height"
value=
"
72
4"
/>
</component>
</component>
<component
name=
"ProjectInspectionProfilesVisibleTreeState"
>
<component
name=
"ProjectInspectionProfilesVisibleTreeState"
>
<entry
key=
"Project Default"
>
<entry
key=
"Project Default"
>
...
@@ -320,12 +319,6 @@
...
@@ -320,12 +319,6 @@
<item
name=
"trans2es"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"trans2es"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"mapping"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"mapping"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</path>
<path>
<item
name=
"physical"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"physical"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"trans2es"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"utils"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</expand>
</expand>
<select
/>
<select
/>
</subPane>
</subPane>
...
@@ -370,9 +363,10 @@
...
@@ -370,9 +363,10 @@
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"-309"
y=
"-1080"
width=
"1920"
height=
"1080"
extended-state=
"6"
/>
<frame
x=
"-89"
y=
"23"
width=
"1920"
height=
"724"
extended-state=
"0"
/>
<editor
active=
"true"
/>
<layout>
<layout>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.18114798"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.18114798"
/>
<window_info
id=
"Structure"
order=
"1"
side_tool=
"true"
weight=
"0.25"
/>
<window_info
id=
"Structure"
order=
"1"
side_tool=
"true"
weight=
"0.25"
/>
<window_info
id=
"DB Browser"
order=
"2"
/>
<window_info
id=
"DB Browser"
order=
"2"
/>
<window_info
id=
"Favorites"
order=
"3"
side_tool=
"true"
/>
<window_info
id=
"Favorites"
order=
"3"
side_tool=
"true"
/>
...
@@ -385,7 +379,7 @@
...
@@ -385,7 +379,7 @@
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"6"
/>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"6"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"7"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"7"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"DB Execution Console"
order=
"8"
/>
<window_info
anchor=
"bottom"
id=
"DB Execution Console"
order=
"8"
/>
<window_info
a
ctive=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"9"
visible=
"true"
weight=
"0.25284973
"
/>
<window_info
a
nchor=
"bottom"
id=
"Terminal"
order=
"9"
visible=
"true"
weight=
"0.56978655
"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"10"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"10"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"11"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"11"
side_tool=
"true"
/>
<window_info
anchor=
"right"
id=
"Commander"
internal_type=
"SLIDING"
order=
"0"
type=
"SLIDING"
weight=
"0.4"
/>
<window_info
anchor=
"right"
id=
"Commander"
internal_type=
"SLIDING"
order=
"0"
type=
"SLIDING"
weight=
"0.4"
/>
...
@@ -638,19 +632,6 @@
...
@@ -638,19 +632,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/search/views/topic.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1020"
>
<caret
line=
"103"
column=
"37"
selection-start-line=
"103"
selection-start-column=
"32"
selection-end-line=
"103"
selection-end-column=
"37"
/>
<folding>
<element
signature=
"e#466#1607#0"
/>
<element
signature=
"e#7074#7716#0"
/>
<element
signature=
"e#7816#8386#0"
/>
<element
signature=
"e#8511#9086#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/search/utils/group.py"
>
<entry
file=
"file://$PROJECT_DIR$/search/utils/group.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1170"
>
<state
relative-caret-position=
"1170"
>
...
@@ -661,26 +642,6 @@
...
@@ -661,26 +642,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/trans2es/type_info.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3465"
>
<caret
line=
"253"
column=
"10"
selection-start-line=
"253"
selection-start-column=
"10"
selection-end-line=
"253"
selection-end-column=
"10"
/>
<folding>
<element
signature=
"e#15#87#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/trans2es/utils/topic_transfer.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"435"
>
<caret
line=
"36"
column=
"50"
selection-start-line=
"36"
selection-start-column=
"50"
selection-end-line=
"36"
selection-end-column=
"50"
/>
<folding>
<element
signature=
"e#46#55#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/trans2es/models/topic.py"
>
<entry
file=
"file://$PROJECT_DIR$/trans2es/models/topic.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1230"
>
<state
relative-caret-position=
"1230"
>
...
@@ -708,6 +669,13 @@
...
@@ -708,6 +669,13 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/trans2es/mapping/topic.json"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"215"
>
<caret
line=
"24"
column=
"16"
selection-start-line=
"24"
selection-start-column=
"5"
selection-end-line=
"24"
selection-end-column=
"16"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/search/views/group.py"
>
<entry
file=
"file://$PROJECT_DIR$/search/views/group.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"510"
>
<state
relative-caret-position=
"510"
>
...
@@ -715,10 +683,36 @@
...
@@ -715,10 +683,36 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
trans2es/mapping/topic.json
"
>
<entry
file=
"file://$PROJECT_DIR$/
search/views/topic.py
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"14"
>
<state
relative-caret-position=
"15"
>
<caret
line=
"14"
selection-start-line=
"14"
selection-end-line=
"14"
/>
<caret
line=
"103"
column=
"37"
selection-start-line=
"103"
selection-start-column=
"32"
selection-end-line=
"103"
selection-end-column=
"37"
/>
<folding>
<element
signature=
"e#466#1607#0"
/>
<element
signature=
"e#7074#7716#0"
/>
<element
signature=
"e#7816#8386#0"
/>
<element
signature=
"e#8511#9086#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/trans2es/type_info.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"307"
>
<caret
line=
"264"
column=
"36"
lean-forward=
"true"
selection-start-line=
"264"
selection-start-column=
"36"
selection-end-line=
"264"
selection-end-column=
"36"
/>
<folding>
<element
signature=
"e#15#87#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/trans2es/utils/topic_transfer.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1068"
>
<caret
line=
"75"
column=
"19"
lean-forward=
"true"
selection-start-line=
"75"
selection-start-column=
"19"
selection-end-line=
"75"
selection-end-column=
"19"
/>
<folding>
<element
signature=
"e#46#55#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
...
trans2es/utils/topic_transfer.py
View file @
ca7bd328
...
@@ -35,6 +35,7 @@ class TopicTransfer(object):
...
@@ -35,6 +35,7 @@ class TopicTransfer(object):
res
[
"pictorial_id"
]
=
instance
.
get_pictorial_id
()
res
[
"pictorial_id"
]
=
instance
.
get_pictorial_id
()
logging
.
info
(
"get res['pictorial_id']:
%
s"
%
res
[
"pictorial_id"
])
res
[
"share_num"
]
=
instance
.
share_num
res
[
"share_num"
]
=
instance
.
share_num
...
...
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