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
1e15d32d
Commit
1e15d32d
authored
Jul 30, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a
parent
d221800a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
20 deletions
+29
-20
workspace.xml
.idea/workspace.xml
+27
-18
auto_request.py
auto_request.py
+2
-2
No files found.
.idea/workspace.xml
View file @
1e15d32d
<?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=
"47bd7678-47c9-4681-b4c9-928e6d933349"
name=
"Default Changelist"
comment=
""
>
<list
default=
"true"
id=
"47bd7678-47c9-4681-b4c9-928e6d933349"
name=
"Default Changelist"
comment=
""
/>
<change
afterPath=
"$PROJECT_DIR$/answer1.txt"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/answer2.txt"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/answer_reply1.py"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/answer_reply2.py"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/answer_reply3.py"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/reply_comment1.py"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/reply_comment2.py"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/reply_comment3.py"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/评论500条.xlsx"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_request.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_request.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/test.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/test.py"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_NON_ACTIVE_CHANGELIST"
value=
"false"
/>
<option
name=
"HIGHLIGHT_NON_ACTIVE_CHANGELIST"
value=
"false"
/>
<option
name=
"LAST_RESOLUTION"
value=
"IGNORE"
/>
<option
name=
"LAST_RESOLUTION"
value=
"IGNORE"
/>
</component>
</component>
<component
name=
"FUSProjectUsageTrigger"
>
<session
id=
"-334786743"
>
<usages-collector
id=
"statistics.file.extensions.edit"
>
<counts>
<entry
key=
"py"
value=
"3"
/>
</counts>
</usages-collector>
<usages-collector
id=
"statistics.file.types.edit"
>
<counts>
<entry
key=
"Python"
value=
"3"
/>
</counts>
</usages-collector>
</session>
</component>
<component
name=
"FileEditorManager"
>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
pinned=
"false"
current-in-tab=
"true"
>
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/auto_request.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_request.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"150"
>
<state
relative-caret-position=
"-5353"
>
<caret
line=
"21"
lean-forward=
"true"
selection-start-line=
"21"
selection-end-line=
"21"
/>
<caret
line=
"64"
selection-start-line=
"64"
selection-end-line=
"64"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -60,6 +64,11 @@
...
@@ -60,6 +64,11 @@
</list>
</list>
</option>
</option>
</component>
</component>
<component
name=
"ProjectFrameBounds"
extendedState=
"1"
>
<option
name=
"y"
value=
"23"
/>
<option
name=
"width"
value=
"1280"
/>
<option
name=
"height"
value=
"727"
/>
</component>
<component
name=
"ProjectView"
>
<component
name=
"ProjectView"
>
<navigator
proportions=
""
version=
"1"
>
<navigator
proportions=
""
version=
"1"
>
<foldersAlwaysOnTop
value=
"true"
/>
<foldersAlwaysOnTop
value=
"true"
/>
...
@@ -105,7 +114,7 @@
...
@@ -105,7 +114,7 @@
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"23"
width=
"1280"
height=
"727"
extended-state=
"
6
"
/>
<frame
x=
"0"
y=
"23"
width=
"1280"
height=
"727"
extended-state=
"
1
"
/>
<editor
active=
"true"
/>
<editor
active=
"true"
/>
<layout>
<layout>
<window_info
id=
"Structure"
order=
"0"
sideWeight=
"0.21188119"
side_tool=
"true"
weight=
"0.19112115"
/>
<window_info
id=
"Structure"
order=
"0"
sideWeight=
"0.21188119"
side_tool=
"true"
weight=
"0.19112115"
/>
...
@@ -120,7 +129,7 @@
...
@@ -120,7 +129,7 @@
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
<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
active=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"8"
visible=
"true"
weight=
"0.
0163398
7"
/>
<window_info
active=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"8"
visible=
"true"
weight=
"0.
1666666
7"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"9"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"9"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"10"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"10"
/>
<window_info
anchor=
"bottom"
id=
"DB Execution Console"
order=
"11"
/>
<window_info
anchor=
"bottom"
id=
"DB Execution Console"
order=
"11"
/>
...
...
auto_request.py
View file @
1e15d32d
...
@@ -417,7 +417,7 @@ def reply_answer(cookies_get, id, content):
...
@@ -417,7 +417,7 @@ def reply_answer(cookies_get, id, content):
data
=
post_dict
)
data
=
post_dict
)
logging
.
info
(
"response.text:
%
s"
%
response
.
text
)
logging
.
info
(
"response.text:
%
s"
%
response
.
text
)
get_error
(
response
.
text
)
get_error
(
response
.
text
,
"reply"
,
id
)
return
response
.
text
return
response
.
text
except
:
except
:
...
@@ -448,7 +448,7 @@ def reply2(cookies_get, id, content, replied_id):
...
@@ -448,7 +448,7 @@ def reply2(cookies_get, id, content, replied_id):
data
=
post_dict
)
data
=
post_dict
)
logging
.
info
(
"response.text:
%
s"
%
response
.
text
)
logging
.
info
(
"response.text:
%
s"
%
response
.
text
)
get_error
(
response
.
text
)
get_error
(
response
.
text
,
"reply2"
,
id
)
except
:
except
:
logging
.
error
(
"catch exception,logins:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,logins:
%
s"
%
traceback
.
format_exc
())
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