Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cybertron
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
cybertron
Commits
a5821382
Commit
a5821382
authored
Aug 06, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
82718568
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
23 deletions
+22
-23
workspace.xml
.idea/workspace.xml
+21
-22
principal_offline_comment1.py
principal_offline_comment1.py
+1
-1
No files found.
.idea/workspace.xml
View file @
a5821382
...
...
@@ -34,13 +34,13 @@
<usages-collector
id=
"statistics.file.extensions.edit"
>
<counts>
<entry
key=
"dummy"
value=
"1"
/>
<entry
key=
"py"
value=
"23
10
"
/>
<entry
key=
"py"
value=
"23
23
"
/>
</counts>
</usages-collector>
<usages-collector
id=
"statistics.file.types.edit"
>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"1"
/>
<entry
key=
"Python"
value=
"23
10
"
/>
<entry
key=
"Python"
value=
"23
23
"
/>
</counts>
</usages-collector>
<usages-collector
id=
"statistics.lifecycle.project"
>
...
...
@@ -58,8 +58,8 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_request.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3
67
"
>
<caret
line=
"1
62"
column=
"19"
selection-start-line=
"162"
selection-start-column=
"4"
selection-end-line=
"162"
selection-end-column=
"19
"
/>
<state
relative-caret-position=
"3
04
"
>
<caret
line=
"1
90"
column=
"4"
selection-start-line=
"190"
selection-start-column=
"4"
selection-end-line=
"190"
selection-end-column=
"4
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<marker
date=
"1565059617000"
expanded=
"true"
signature=
"6010:6330"
ph=
"..."
/>
...
...
@@ -68,11 +68,11 @@
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/principal_online_comment1.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
775
"
>
<caret
line=
"
70"
lean-forward=
"true"
selection-start-line=
"70"
selection-end-line=
"70
"
/>
<state
relative-caret-position=
"
-11
"
>
<caret
line=
"
15"
lean-forward=
"true"
selection-start-line=
"15"
selection-end-line=
"15
"
/>
<folding>
<element
signature=
"e#0#14#0"
expanded=
"true"
/>
</folding>
...
...
@@ -80,11 +80,11 @@
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/principal_offline_comment1.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
27
0"
>
<caret
line=
"
18"
column=
"41"
selection-start-line=
"18"
selection-start-column=
"41"
selection-end-line=
"18"
selection-end-column=
"41
"
/>
<state
relative-caret-position=
"
33
0"
>
<caret
line=
"
22"
column=
"57"
selection-start-line=
"22"
selection-start-column=
"57"
selection-end-line=
"22"
selection-end-column=
"57
"
/>
<folding>
<element
signature=
"e#0#14#0"
expanded=
"true"
/>
</folding>
...
...
@@ -140,9 +140,9 @@
<option
value=
"$PROJECT_DIR$/answer_reply2.py"
/>
<option
value=
"$PROJECT_DIR$/reply_comment3.py"
/>
<option
value=
"$PROJECT_DIR$/pictorial_reply_data.txt"
/>
<option
value=
"$PROJECT_DIR$/principal_offline_comment1.py"
/>
<option
value=
"$PROJECT_DIR$/auto_request.py"
/>
<option
value=
"$PROJECT_DIR$/principal_online_comment1.py"
/>
<option
value=
"$PROJECT_DIR$/principal_offline_comment1.py"
/>
</list>
</option>
</component>
...
...
@@ -227,11 +227,10 @@
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"-323"
y=
"-1080"
width=
"1920"
height=
"1080"
extended-state=
"6"
/>
<editor
active=
"true"
/>
<layout>
<window_info
id=
"Structure"
order=
"0"
sideWeight=
"0.21188119"
side_tool=
"true"
weight=
"0.19112115"
/>
<window_info
id=
"Favorites"
order=
"1"
side_tool=
"true"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"2"
sideWeight=
"0.7872763"
visible=
"true"
weight=
"0.20642443"
/>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"2"
sideWeight=
"0.7872763"
visible=
"true"
weight=
"0.20642443"
/>
<window_info
id=
"DB Browser"
order=
"3"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
weight=
"0.3284974"
/>
...
...
@@ -241,7 +240,7 @@
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"6"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"7"
show_stripe_button=
"false"
/>
<window_info
a
nchor=
"bottom"
id=
"Terminal"
order=
"8"
sideWeight=
"0.49960285"
visible=
"true"
weight=
"0.0
"
/>
<window_info
a
ctive=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"8"
sideWeight=
"0.49960285"
visible=
"true"
weight=
"0.4984456
"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"9"
sideWeight=
"0.50039715"
side_tool=
"true"
weight=
"0.32890365"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"10"
/>
<window_info
anchor=
"bottom"
id=
"DB Execution Console"
order=
"11"
/>
...
...
@@ -542,8 +541,8 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_request.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3
67
"
>
<caret
line=
"1
62"
column=
"19"
selection-start-line=
"162"
selection-start-column=
"4"
selection-end-line=
"162"
selection-end-column=
"19
"
/>
<state
relative-caret-position=
"3
04
"
>
<caret
line=
"1
90"
column=
"4"
selection-start-line=
"190"
selection-start-column=
"4"
selection-end-line=
"190"
selection-end-column=
"4
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<marker
date=
"1565059617000"
expanded=
"true"
signature=
"6010:6330"
ph=
"..."
/>
...
...
@@ -551,20 +550,20 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/principal_o
ff
line_comment1.py"
>
<entry
file=
"file://$PROJECT_DIR$/principal_o
n
line_comment1.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
270
"
>
<caret
line=
"1
8"
column=
"41"
selection-start-line=
"18"
selection-start-column=
"41"
selection-end-line=
"18"
selection-end-column=
"41
"
/>
<state
relative-caret-position=
"
-11
"
>
<caret
line=
"1
5"
lean-forward=
"true"
selection-start-line=
"15"
selection-end-line=
"15
"
/>
<folding>
<element
signature=
"e#0#14#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/principal_o
n
line_comment1.py"
>
<entry
file=
"file://$PROJECT_DIR$/principal_o
ff
line_comment1.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
775
"
>
<caret
line=
"
70"
lean-forward=
"true"
selection-start-line=
"70"
selection-end-line=
"70
"
/>
<state
relative-caret-position=
"
330
"
>
<caret
line=
"
22"
column=
"57"
selection-start-line=
"22"
selection-start-column=
"57"
selection-end-line=
"22"
selection-end-column=
"57
"
/>
<folding>
<element
signature=
"e#0#14#0"
expanded=
"true"
/>
</folding>
...
...
principal_offline_comment1.py
View file @
a5821382
...
...
@@ -17,7 +17,7 @@ def get_data():
pc
=
pymysql
.
connect
(
host
=
host
,
user
=
user
,
passwd
=
passwd
,
db
=
db
,
port
=
3306
)
cursor
=
pc
.
cursor
()
cursor
.
execute
(
"SELECT
use
r_id,id FROM community_pictorial "
)
"SELECT
creato
r_id,id FROM community_pictorial "
)
data
=
cursor
.
fetchall
()
topic_id
=
list
(
data
)
logging
.
info
(
"Database version :
%
s "
%
topic_id
)
...
...
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