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
Xavier Thompson
neoppod
Commits
fcc55973
Commit
fcc55973
authored
Aug 20, 2012
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup a few unused variables.
parent
6be00df7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1 addition
and
8 deletions
+1
-8
neo/client/app.py
neo/client/app.py
+0
-1
neo/client/pool.py
neo/client/pool.py
+1
-1
neo/lib/logger.py
neo/lib/logger.py
+0
-1
neo/lib/util.py
neo/lib/util.py
+0
-1
neo/master/backup_app.py
neo/master/backup_app.py
+0
-2
neo/master/verification.py
neo/master/verification.py
+0
-2
No files found.
neo/client/app.py
View file @
fcc55973
...
...
@@ -676,7 +676,6 @@ class Application(object):
append
=
result
.
append
resolved_oid_set
=
set
()
update
=
resolved_oid_set
.
update
ttid
=
txn_context
[
'ttid'
]
_handleConflicts
=
self
.
_handleConflicts
queue
=
txn_context
[
'queue'
]
conflict_serial_dict
=
txn_context
[
'conflict_serial_dict'
]
...
...
neo/client/pool.py
View file @
fcc55973
...
...
@@ -78,7 +78,7 @@ class ConnectionPool(object):
@
profiler_decorator
def
_dropConnections
(
self
):
"""Drop connections."""
for
node_uuid
,
conn
in
self
.
connection_dict
.
item
s
():
for
conn
in
self
.
connection_dict
.
value
s
():
# Drop first connection which looks not used
conn
.
lock
()
try
:
...
...
neo/lib/logger.py
View file @
fcc55973
...
...
@@ -236,7 +236,6 @@ class NEOLogger(Logger):
def
packet
(
self
,
connection
,
packet
,
outgoing
):
if
self
.
_db
is
not
None
:
ip
,
port
=
connection
.
getAddress
()
self
.
_queue
(
PacketRecord
(
created
=
time
(),
msg_id
=
packet
.
_id
,
...
...
neo/lib/util.py
View file @
fcc55973
...
...
@@ -144,7 +144,6 @@ class ReadBuffer(object):
pop_chunk
=
self
.
content
.
popleft
append_data
=
chunk_list
.
append
to_read
=
size
chunk_len
=
0
# select required chunks
while
to_read
>
0
:
chunk_size
,
chunk_data
=
pop_chunk
()
...
...
neo/master/backup_app.py
View file @
fcc55973
...
...
@@ -193,7 +193,6 @@ class BackupApplication(object):
prev_tid
=
app
.
getLastTransaction
()
app
.
setLastTransaction
(
tid
)
pt
=
app
.
pt
getByUUID
=
app
.
nm
.
getByUUID
trigger_set
=
set
()
untouched_dict
=
defaultdict
(
dict
)
for
offset
in
xrange
(
pt
.
getPartitions
()):
...
...
@@ -252,7 +251,6 @@ class BackupApplication(object):
replicate_list
.
append
(
offset
)
if
not
replicate_list
:
return
getByUUID
=
self
.
nm
.
getByUUID
getCellList
=
self
.
pt
.
getCellList
source_dict
=
{}
address_set
=
set
()
...
...
neo/master/verification.py
View file @
fcc55973
...
...
@@ -142,7 +142,6 @@ class VerificationManager(BaseServiceHandler):
app
.
em
.
poll
(
0
)
def
verifyTransaction
(
self
,
tid
):
em
=
self
.
app
.
em
nm
=
self
.
app
.
nm
uuid_set
=
set
()
...
...
@@ -193,7 +192,6 @@ class VerificationManager(BaseServiceHandler):
def
answerTransactionInformation
(
self
,
conn
,
tid
,
user
,
desc
,
ext
,
packed
,
oid_list
):
uuid
=
conn
.
getUUID
()
app
=
self
.
app
if
not
self
.
_gotAnswerFrom
(
uuid
):
return
oid_set
=
set
(
oid_list
)
...
...
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