Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
neoppod
Commits
94f7a7ff
Commit
94f7a7ff
authored
Feb 28, 2012
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop dead/unneeded code.
parent
4aa72733
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
neo/lib/connection.py
neo/lib/connection.py
+0
-1
neo/master/handlers/administration.py
neo/master/handlers/administration.py
+0
-5
No files found.
neo/lib/connection.py
View file @
94f7a7ff
...
@@ -706,7 +706,6 @@ class ClientConnection(Connection):
...
@@ -706,7 +706,6 @@ class ClientConnection(Connection):
err
=
self
.
connector
.
getError
()
err
=
self
.
connector
.
getError
()
if
err
:
if
err
:
self
.
_closure
()
self
.
_closure
()
return
else
:
else
:
self
.
connecting
=
False
self
.
connecting
=
False
self
.
updateTimeout
(
time
())
self
.
updateTimeout
(
time
())
...
...
neo/master/handlers/administration.py
View file @
94f7a7ff
...
@@ -39,11 +39,6 @@ class AdministrationHandler(MasterHandler):
...
@@ -39,11 +39,6 @@ class AdministrationHandler(MasterHandler):
node
=
self
.
app
.
nm
.
getByUUID
(
conn
.
getUUID
())
node
=
self
.
app
.
nm
.
getByUUID
(
conn
.
getUUID
())
self
.
app
.
nm
.
remove
(
node
)
self
.
app
.
nm
.
remove
(
node
)
def
askPrimary
(
self
,
conn
):
app
=
self
.
app
# I'm the primary
conn
.
answer
(
Packets
.
AnswerPrimary
(
app
.
uuid
,
[]))
def
setClusterState
(
self
,
conn
,
state
):
def
setClusterState
(
self
,
conn
,
state
):
app
=
self
.
app
app
=
self
.
app
# check request
# check request
...
...
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