Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Anti-censorship
BridgeDB
Commits
bc84f9c7
Unverified
Commit
bc84f9c7
authored
Jan 12, 2014
by
Isis Lovecruft
Browse files
Don't log the hashring filters twice, just log the number of bridges inserted.
parent
01c774e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/bridgedb/Bridges.py
View file @
bc84f9c7
...
...
@@ -1222,8 +1222,8 @@ class FilteredBridgeSplitter(BridgeHolder):
if
isinstance
(
bridge
,
Bridge
)
and
filterFn
(
bridge
):
subring
.
insert
(
bridge
)
inserted
+=
1
logging
.
info
(
"
Inserted %d bridges into hashring with filters
: %
s
"
%
(
inserted
,
filterNames
))
logging
.
info
(
"
Bridges inserted into %s subring
: %
d
"
%
(
subring
.
name
,
inserted
))
return
True
...
...
Write
Preview
Supports
Markdown
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