[tor-commits] [translation/torbirdy] Update translations for torbirdy

2014-04-23 Thread translation
commit 4e570155644a31c221ba05ccd33183097885be95 Author: Translation commit bot translat...@torproject.org Date: Wed Apr 23 06:45:26 2014 + Update translations for torbirdy --- fi/torbirdy.dtd |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fi/torbirdy.dtd

[tor-commits] [bridgedb/develop] Add unittests for bridgedb.parse.headers.parseAcceptLanguage().

2014-04-23 Thread isis
commit 12aa4ce0119dfe0c082d1ae4c4fb3a646fd67cac Author: Isis Lovecruft i...@torproject.org Date: Wed Apr 23 07:14:51 2014 + Add unittests for bridgedb.parse.headers.parseAcceptLanguage(). --- lib/bridgedb/test/test_parse_headers.py | 52 +++ 1 file

[tor-commits] [bridgedb/develop] Set the logfile path by default, or else we get a ValueError.

2014-04-23 Thread isis
commit 1e481bf61f685a5a8fb3cfc2aa9cf6f6272c11d5 Author: Isis Lovecruft i...@torproject.org Date: Wed Apr 23 07:45:23 2014 + Set the logfile path by default, or else we get a ValueError. --- lib/bridgedb/util.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[tor-commits] [bridgedb/develop] Add unittests for bridgedb.parse.addr.canonicalizeEmailDomain().

2014-04-23 Thread isis
commit 46e16fa31c5590e7db2b092029124d90ea061e1d Author: Isis Lovecruft i...@torproject.org Date: Wed Apr 23 06:53:50 2014 + Add unittests for bridgedb.parse.addr.canonicalizeEmailDomain(). --- lib/bridgedb/test/test_parse_addr.py | 34 ++ 1 file

[tor-commits] [bridgedb/develop] Add unittests for bridgedb.util module.

2014-04-23 Thread isis
commit 739cca47c700a3a5965465c958297eee2de8f8b6 Author: Isis Lovecruft i...@torproject.org Date: Wed Apr 23 07:46:22 2014 + Add unittests for bridgedb.util module. --- lib/bridgedb/test/test_util.py | 60 1 file changed, 60 insertions(+) diff

[tor-commits] [bridgedb/develop] Remove unused function Bridges.chopString().

2014-04-23 Thread isis
commit 52a7e1830e6ee05f411e0e84ae8569e35afe5556 Author: Isis Lovecruft i...@torproject.org Date: Wed Apr 23 07:44:43 2014 + Remove unused function Bridges.chopString(). --- lib/bridgedb/Bridges.py |6 -- 1 file changed, 6 deletions(-) diff --git a/lib/bridgedb/Bridges.py

[tor-commits] [bridgedb/develop] Add unittests for bridgedb.parse.addr.extractEmail().

2014-04-23 Thread isis
commit 8e737da3be712e7e9151194a381a108035d50a6c Author: Isis Lovecruft i...@torproject.org Date: Wed Apr 23 06:55:30 2014 + Add unittests for bridgedb.parse.addr.extractEmail(). --- lib/bridgedb/test/test_parse_addr.py | 43 ++ 1 file changed, 43

[tor-commits] [bridgedb/develop] Add unittests for bridgedb.parse.addr.normalizeEmail().

2014-04-23 Thread isis
commit e33c55bd62fcced148e5fcdcb7319583ea982538 Author: Isis Lovecruft i...@torproject.org Date: Wed Apr 23 06:58:06 2014 + Add unittests for bridgedb.parse.addr.normalizeEmail(). --- lib/bridgedb/test/test_parse_addr.py | 57 ++ 1 file changed, 57

[tor-commits] [bridgedb/develop] Split a unittest for the Bridge class into several smaller tests.

2014-04-23 Thread isis
commit 20175b52feab80003def73fc0829638cfeb84963 Author: Isis Lovecruft i...@torproject.org Date: Wed Apr 23 09:25:53 2014 + Split a unittest for the Bridge class into several smaller tests. --- lib/bridgedb/test/test_Bridges.py | 21 - 1 file changed, 20

[tor-commits] [bridgedb/develop] Update docstrings for Bridge class.

2014-04-23 Thread isis
commit 2974d6982a4da41b8a5f270f8453212b3386c504 Author: Isis Lovecruft i...@torproject.org Date: Wed Apr 23 09:24:01 2014 + Update docstrings for Bridge class. --- lib/bridgedb/Bridges.py | 50 --- 1 file changed, 26 insertions(+), 24

[tor-commits] [bridgedb/develop] Add testing for Bridge.getConfigLine().

2014-04-23 Thread isis
commit 7d28e9448a66718e6430e672bfa54982d8c88661 Author: Isis Lovecruft i...@torproject.org Date: Wed Apr 23 09:26:17 2014 + Add testing for Bridge.getConfigLine(). --- lib/bridgedb/test/test_Bridges.py | 36 ++-- 1 file changed, 34 insertions(+), 2

[tor-commits] [bridgedb/develop] Fix incorrect types used to initiate test instances of Bridge class.

2014-04-23 Thread isis
commit 4bbf7a9914dfc3fb585857cab62dc1d292f2f4ed Author: Isis Lovecruft i...@torproject.org Date: Wed Apr 23 09:25:03 2014 + Fix incorrect types used to initiate test instances of Bridge class. --- lib/bridgedb/test/test_Bridges.py | 17 - 1 file changed, 12

[tor-commits] [translation/torbutton-torbuttonproperties] Update translations for torbutton-torbuttonproperties

2014-04-23 Thread translation
commit 4f4365a7b876eac2aa45df78439e2085613ed3d5 Author: Translation commit bot translat...@torproject.org Date: Wed Apr 23 09:45:47 2014 + Update translations for torbutton-torbuttonproperties --- ja/torbutton.properties | 12 ++-- pt/torbutton.properties | 12 ++--

[tor-commits] [translation/torbutton-torbuttonproperties] Update translations for torbutton-torbuttonproperties

2014-04-23 Thread translation
commit bf200d078aa456884a6aa4711e6ad41d313d53f4 Author: Translation commit bot translat...@torproject.org Date: Wed Apr 23 10:15:45 2014 + Update translations for torbutton-torbuttonproperties --- es/torbutton.properties | 12 ++-- 1 file changed, 6 insertions(+), 6

[tor-commits] [translation/torbutton-torbuttonproperties] Update translations for torbutton-torbuttonproperties

2014-04-23 Thread translation
commit 9b13f795fdbf61cade172e01e608f42580d44d3e Author: Translation commit bot translat...@torproject.org Date: Wed Apr 23 11:15:45 2014 + Update translations for torbutton-torbuttonproperties --- tr/torbutton.properties | 40 1 file changed,

[tor-commits] [translation/torbutton-torbuttonproperties] Update translations for torbutton-torbuttonproperties

2014-04-23 Thread translation
commit 67f24e0798c436f1f1e8ff0e9db5cc0661db5d1d Author: Translation commit bot translat...@torproject.org Date: Wed Apr 23 11:45:44 2014 + Update translations for torbutton-torbuttonproperties --- es/torbutton.properties |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[tor-commits] [translation/torbutton-torbuttonproperties] Update translations for torbutton-torbuttonproperties

2014-04-23 Thread translation
commit 3c8d6cb680fe150365996428f2619e1307842d4b Author: Translation commit bot translat...@torproject.org Date: Wed Apr 23 12:15:45 2014 + Update translations for torbutton-torbuttonproperties --- es/torbutton.properties | 10 +- 1 file changed, 5 insertions(+), 5

[tor-commits] [translation/liveusb-creator] Update translations for liveusb-creator

2014-04-23 Thread translation
commit b5c0d1263f57ab1743f97cef54ff9c5dabb441b1 Author: Translation commit bot translat...@torproject.org Date: Wed Apr 23 13:15:19 2014 + Update translations for liveusb-creator --- de/de.po |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/de/de.po

[tor-commits] [translation/liveusb-creator_completed] Update translations for liveusb-creator_completed

2014-04-23 Thread translation
commit bd1235fb71b4b3118ffe977115ae1d8782d0b1f7 Author: Translation commit bot translat...@torproject.org Date: Wed Apr 23 13:15:22 2014 + Update translations for liveusb-creator_completed --- de/de.po |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[tor-commits] [translation/tails-persistence-setup] Update translations for tails-persistence-setup

2014-04-23 Thread translation
commit 15866040a1e8950385ba563aa930524f6763ef22 Author: Translation commit bot translat...@torproject.org Date: Wed Apr 23 13:15:25 2014 + Update translations for tails-persistence-setup --- de/de.po |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/de/de.po

[tor-commits] [translation/tails-persistence-setup_completed] Update translations for tails-persistence-setup_completed

2014-04-23 Thread translation
commit c85bf194d5e7498f325581abc32bcb3fb4f41058 Author: Translation commit bot translat...@torproject.org Date: Wed Apr 23 13:15:27 2014 + Update translations for tails-persistence-setup_completed --- de/de.po |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[tor-commits] [translation/torbutton-torbuttonproperties] Update translations for torbutton-torbuttonproperties

2014-04-23 Thread translation
commit 1929aaa582b0031d22d270f022395ff704c5b6da Author: Translation commit bot translat...@torproject.org Date: Wed Apr 23 13:15:52 2014 + Update translations for torbutton-torbuttonproperties --- de/torbutton.properties |8 1 file changed, 4 insertions(+), 4 deletions(-)

[tor-commits] [translation/torbutton-torbuttonproperties] Update translations for torbutton-torbuttonproperties

2014-04-23 Thread translation
commit c33231ed113cc0ad450fbc53c82bfbc8a714b585 Author: Translation commit bot translat...@torproject.org Date: Wed Apr 23 13:45:46 2014 + Update translations for torbutton-torbuttonproperties --- pt_BR/torbutton.properties | 12 ++-- 1 file changed, 6 insertions(+), 6

[tor-commits] [oonib/master] Add $ to the end of regexps that should have it

2014-04-23 Thread art
commit 0e7fb5824badb2e469a291fc9f1247ae31b51f01 Author: Taylor Hornby ha...@defuse.ca Date: Thu Mar 27 14:30:26 2014 -0600 Add $ to the end of regexps that should have it --- bin/archive_oonib_reports |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[tor-commits] [oonib/master] Remove unused duplicate of updateKnownHelpers

2014-04-23 Thread art
commit 1163889a20b59201c665d0d4c5600d990cc57296 Author: Taylor Hornby ha...@defuse.ca Date: Thu Mar 27 11:17:01 2014 -0600 Remove unused duplicate of updateKnownHelpers --- oonib/bouncer/handlers.py | 13 - 1 file changed, 13 deletions(-) diff --git

[tor-commits] [oonib/master] Fix InvalidArchiveDirectory exception message

2014-04-23 Thread art
commit 773dbe5b492f2f6e6636e483f2f3965d3f7dc7cd Author: Taylor Hornby ha...@defuse.ca Date: Thu Mar 27 11:14:10 2014 -0600 Fix InvalidArchiveDirectory exception message --- oonib/config.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oonib/config.py

[tor-commits] [oonib/master] Apply the correct regular expression to the test helper key.

2014-04-23 Thread art
commit d4fe193e86f9982546b648da1432db132ae77f5f Author: Arturo Filastò a...@fuffa.org Date: Thu Mar 27 22:13:57 2014 +0100 Apply the correct regular expression to the test helper key. Fixes #37 --- oonib/report/handlers.py |5 +++-- 1 file changed, 3 insertions(+), 2

[tor-commits] [oonib/master] Merge pull request #38 from defuse/fix_error_message

2014-04-23 Thread art
commit 73de18215aaeed5072b82b01a8f9ace0561421f2 Merge: 755588b 773dbe5 Author: Arturo Filastò hell...@users.noreply.github.com Date: Thu Mar 27 22:06:23 2014 +0100 Merge pull request #38 from defuse/fix_error_message Fix InvalidArchiveDirectory exception message oonib/config.py

[tor-commits] [oonib/master] Merge branch 'fix/regexp_end_match'

2014-04-23 Thread art
commit e4311c634fcb4d0ad66b0d74ef3fa96192669244 Merge: 3a9dc15 9958da2 Author: Arturo Filastò a...@fuffa.org Date: Thu Mar 27 22:10:41 2014 +0100 Merge branch 'fix/regexp_end_match' * fix/regexp_end_match: Make the CC regexp also more accurate Add $ to the end of

[tor-commits] [oonib/master] Merge pull request #39 from defuse/remove_dup_code

2014-04-23 Thread art
commit 3a9dc153368ce5755fe80883e2d0074420616740 Merge: 73de182 1163889 Author: Arturo Filastò hell...@users.noreply.github.com Date: Thu Mar 27 22:07:31 2014 +0100 Merge pull request #39 from defuse/remove_dup_code Remove unused duplicate of updateKnownHelpers

[tor-commits] [oonib/master] Make the CC regexp also more accurate

2014-04-23 Thread art
commit 9958da22a3f6001e6e517c0a1e0c905cdd6c6ef8 Author: Arturo Filastò a...@fuffa.org Date: Thu Mar 27 22:10:07 2014 +0100 Make the CC regexp also more accurate --- bin/archive_oonib_reports |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/archive_oonib_reports

[tor-commits] [oonib/master] Avoid the possibility of accidentally sharing the same mutable list for self.input and self.nettest.

2014-04-23 Thread art
commit 2b8081ef8de3efe6434fe67a4e7e16ecde7abb11 Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 11:40:08 2014 -0700 Avoid the possibility of accidentally sharing the same mutable list for self.input and self.nettest. --- oonib/policy/handlers.py |3 ++- 1 file changed, 2

[tor-commits] [oonib/master] Fix: old code could raise a KeyError because choices[c] preceded the if c in choices

2014-04-23 Thread art
commit 3cb4394c9c4e8d20fd1068bbd0c75ab907999fdf Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 11:08:41 2014 -0700 Fix: old code could raise a KeyError because choices[c] preceded the if c in choices --- oonib/bouncer/handlers.py |7 +++ 1 file changed, 3 insertions(+), 4

[tor-commits] [oonib/master] More-direct code for validateNettest, as long as I'm messing with it. You could do the same to validateInputHash.

2014-04-23 Thread art
commit ae549520175fd0f764143954faa5ce299435251d Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 11:36:00 2014 -0700 More-direct code for validateNettest, as long as I'm messing with it. You could do the same to validateInputHash. --- oonib/policy/handlers.py | 12 +++- 1

[tor-commits] [oonib/master] Check version semantically instead of by string (the old code answers wrong for '0.10.0').

2014-04-23 Thread art
commit d588abacd02722a39a46b96e0ad0ef62542d75e1 Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 10:58:20 2014 -0700 Check version semantically instead of by string (the old code answers wrong for '0.10.0'). --- oonib/runner.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[tor-commits] [oonib/master] fix 'false midnight' bug (https://lwn.net/Articles/590299/ for an explanation)

2014-04-23 Thread art
commit d7b6cb2a2d6e4ea1d206ec870635544ee22cd488 Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 10:49:40 2014 -0700 fix 'false midnight' bug (https://lwn.net/Articles/590299/ for an explanation) --- oonib/otime.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[tor-commits] [oonib/master] Most of the body of this doesn't need to be in the scope of the 'with'. (This comes up in lots of the other 'with's in this codebase.)

2014-04-23 Thread art
commit 67788384562254bbf8a8b6f1edaf7812cf2d83fa Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 11:37:31 2014 -0700 Most of the body of this doesn't need to be in the scope of the 'with'. (This comes up in lots of the other 'with's in this codebase.) --- oonib/policy/handlers.py |

[tor-commits] [oonib/master] simpler methods in Storage

2014-04-23 Thread art
commit f5001bdebb0395b0817144c1d05a8466ac067714 Author: Darius Bacon dar...@wry.me Date: Tue Apr 15 16:14:51 2014 -0700 simpler methods in Storage --- oonib/__init__.py |8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/oonib/__init__.py b/oonib/__init__.py

[tor-commits] [oonib/master] clearer check_paths()

2014-04-23 Thread art
commit 562649ffe895025bc579314b4f19a8f31c944464 Author: Darius Bacon dar...@wry.me Date: Tue Apr 15 16:11:03 2014 -0700 clearer check_paths() --- oonib/config.py | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/oonib/config.py b/oonib/config.py index

[tor-commits] [oonib/master] If p is a dictionary (as I assume) then you don't need the .keys().

2014-04-23 Thread art
commit 3af27326a39046ad8397fb92a4b5ee398418096b Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 11:41:11 2014 -0700 If p is a dictionary (as I assume) then you don't need the .keys(). --- oonib/policy/handlers.py |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[tor-commits] [oonib/master] Make validateNettest work like validateInputHash. Previously the code was clearly redundant and thus probably wrong.

2014-04-23 Thread art
commit b8b81deba021d5f103e50e3cf2c259234ce79bad Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 11:33:03 2014 -0700 Make validateNettest work like validateInputHash. Previously the code was clearly redundant and thus probably wrong. --- oonib/policy/handlers.py |2 +- 1 file

[tor-commits] [oonib/master] try/except is not needed here

2014-04-23 Thread art
commit c543fee5b416af54604c3d356f6b5bb058860405 Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 12:22:42 2014 -0700 try/except is not needed here --- oonib/report/handlers.py |5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/oonib/report/handlers.py

[tor-commits] [oonib/master] note missing import

2014-04-23 Thread art
commit 238ea56a4ecc9e255a73d29848d9d86dd910b7ef Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 11:49:11 2014 -0700 note missing import --- oonib/runner.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oonib/runner.py b/oonib/runner.py index 10bcf65..fb5d090

[tor-commits] [oonib/master] Export ssl_helpers. (Or was it meant to be left out?)

2014-04-23 Thread art
commit 0af1b10491623ab74a0c6977d3f03772fbb4ec35 Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 11:26:31 2014 -0700 Export ssl_helpers. (Or was it meant to be left out?) --- oonib/testhelpers/__init__.py |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[tor-commits] [oonib/master] simpler Config.load()

2014-04-23 Thread art
commit 01c410b21020932179b3d62a73268f1132067ba5 Author: Darius Bacon dar...@wry.me Date: Tue Apr 15 16:24:56 2014 -0700 simpler Config.load() --- oonib/config.py | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/oonib/config.py b/oonib/config.py index

[tor-commits] [oonib/master] Load the bouncer file just once. The previous code read it twice, which could create inconsistent datastructures if the file got edited at the wrong time.

2014-04-23 Thread art
commit 4c483d5bedba1d74795048d54b0f3eebd21d07d4 Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 11:24:44 2014 -0700 Load the bouncer file just once. The previous code read it twice, which could create inconsistent datastructures if the file got edited at the wrong time. ---

[tor-commits] [oonib/master] fix doctest (python -m doctest __init__.py was failing)

2014-04-23 Thread art
commit 9c14a5dd6651b4237d541b564d567474348fb9a2 Author: Darius Bacon dar...@wry.me Date: Tue Apr 15 16:19:44 2014 -0700 fix doctest (python -m doctest __init__.py was failing) --- oonib/__init__.py |1 - 1 file changed, 1 deletion(-) diff --git a/oonib/__init__.py b/oonib/__init__.py

[tor-commits] [oonib/master] clearer logic by eliminating checking_first_packet and bringing assignments to the same variable closer together

2014-04-23 Thread art
commit 6ce07ebd9c2261d4dc069c52baa02bad965564a6 Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 11:40:28 2014 -0700 clearer logic by eliminating checking_first_packet and bringing assignments to the same variable closer together --- oonib/daphn3.py | 23 +-- 1

[tor-commits] [oonib/master] tighter try/except/with blocks

2014-04-23 Thread art
commit bb924d9f178bc6ee32233b36680fd69e59ea9a26 Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 12:06:12 2014 -0700 tighter try/except/with blocks --- oonib/deck/handlers.py | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/oonib/deck/handlers.py

[tor-commits] [oonib/master] move write() out of the scope of an IOError catch clause not meant for it

2014-04-23 Thread art
commit 92379c18388b9438a5affec452f0855fef087a32 Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 12:00:10 2014 -0700 move write() out of the scope of an IOError catch clause not meant for it --- oonib/deck/handlers.py |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff

[tor-commits] [oonib/master] Add $ to the end of regexps that should have it

2014-04-23 Thread art
commit a17e817117daf7a5aaad4dc63a74df2da2fa1a89 Author: Taylor Hornby ha...@defuse.ca Date: Thu Mar 27 14:30:26 2014 -0600 Add $ to the end of regexps that should have it --- bin/archive_oonib_reports |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[tor-commits] [oonib/master] tighter try/except/with blocks

2014-04-23 Thread art
commit fe398cdf47ab94d9199f286fc1b161b1ebee912c Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 12:13:34 2014 -0700 tighter try/except/with blocks --- oonib/input/handlers.py | 28 1 file changed, 16 insertions(+), 12 deletions(-) diff --git

[tor-commits] [oonib/master] a more-direct test

2014-04-23 Thread art
commit 38048f623f84d6bc8edfbb7c68ec4669b2450a76 Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 11:55:38 2014 -0700 a more-direct test --- oonib/bouncer/handlers.py |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/oonib/bouncer/handlers.py

[tor-commits] [oonib/master] remove mutable class-level variable that's always overridden by a fresh instance variable with the same name (at least within this code, and I'm going to assume that's how

2014-04-23 Thread art
commit 5a21e98880a7e903f335ada22856248f346dad5a Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 12:28:59 2014 -0700 remove mutable class-level variable that's always overridden by a fresh instance variable with the same name (at least within this code, and I'm going to assume that's

[tor-commits] [oonib/master] remove overbroad try/except

2014-04-23 Thread art
commit eae427c12a5c1ca1ec42c9c10893710eb9ed9d08 Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 12:21:02 2014 -0700 remove overbroad try/except --- oonib/report/handlers.py |5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/oonib/report/handlers.py

[tor-commits] [oonib/master] Load the bouncer file just once. The previous code read it twice, which could create inconsistent datastructures if the file got edited at the wrong time.

2014-04-23 Thread art
commit afb5dd4da67a684ba3f5630a8a9945592c56b221 Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 11:24:44 2014 -0700 Load the bouncer file just once. The previous code read it twice, which could create inconsistent datastructures if the file got edited at the wrong time. ---

[tor-commits] [oonib/master] Fix InvalidArchiveDirectory exception message

2014-04-23 Thread art
commit a1c3023b94da46c044a9470ba8aa2dba9b0c562c Author: Taylor Hornby ha...@defuse.ca Date: Thu Mar 27 11:14:10 2014 -0600 Fix InvalidArchiveDirectory exception message --- oonib/config.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oonib/config.py

[tor-commits] [oonib/master] Handle writing exceptions that don't have log_exception attribute

2014-04-23 Thread art
commit 168a7c9b9f5c0699009d8ef6eea0078c2a6a19cc Author: Arturo Filastò a...@fuffa.org Date: Mon Apr 21 19:37:10 2014 +0200 Handle writing exceptions that don't have log_exception attribute --- oonib/handlers.py |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[tor-commits] [oonib/master] Fix bug introduce in previous PR.

2014-04-23 Thread art
commit bf6da812764aa3879fef67aedd6e072bad193e24 Author: Arturo Filastò a...@fuffa.org Date: Mon Apr 21 19:23:59 2014 +0200 Fix bug introduce in previous PR. --- oonib/bouncer/handlers.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oonib/bouncer/handlers.py

[tor-commits] [oonib/master] Apply the correct regular expression to the test helper key.

2014-04-23 Thread art
commit 882095a92a9fe4123529ee05e1beaa5e2a9e4bed Author: Arturo Filastò a...@fuffa.org Date: Thu Mar 27 22:13:57 2014 +0100 Apply the correct regular expression to the test helper key. Fixes #37 --- oonib/report/handlers.py |5 +++-- 1 file changed, 3 insertions(+), 2

[tor-commits] [oonib/master] remove unused (and confusing) global

2014-04-23 Thread art
commit 1c1e3d73086e47ef17031a55909853f8f0812516 Author: Darius Bacon dar...@wry.me Date: Tue Apr 15 16:30:54 2014 -0700 remove unused (and confusing) global --- oonib/config.py |1 - 1 file changed, 1 deletion(-) diff --git a/oonib/config.py b/oonib/config.py index afe3091..1388e6b

[tor-commits] [oonib/master] remove duplicate import

2014-04-23 Thread art
commit 529fe95115154860365a5d15c89275c6038dc82b Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 11:46:32 2014 -0700 remove duplicate import --- oonib/options.py |1 - 1 file changed, 1 deletion(-) diff --git a/oonib/options.py b/oonib/options.py index 7acdc23..d5c87b3 100644 ---

[tor-commits] [oonib/master] try/except is not needed here

2014-04-23 Thread art
commit 4fb2c669147b602e9e126c5eea112b7f0aa1792f Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 12:22:42 2014 -0700 try/except is not needed here --- oonib/report/handlers.py |5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/oonib/report/handlers.py

[tor-commits] [oonib/master] remove overbroad try/except

2014-04-23 Thread art
commit ac2f6a42f71d828cc6dad18bbd7f9573d14f2732 Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 12:21:02 2014 -0700 remove overbroad try/except --- oonib/report/handlers.py |5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/oonib/report/handlers.py

[tor-commits] [oonib/master] If p is a dictionary (as I assume) then you don't need the .keys().

2014-04-23 Thread art
commit f4a18e0d4f0ebeab05ca340de92e258cd1b6e562 Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 11:41:11 2014 -0700 If p is a dictionary (as I assume) then you don't need the .keys(). --- oonib/policy/handlers.py |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[tor-commits] [oonib/master] fix doctest (python -m doctest __init__.py was failing)

2014-04-23 Thread art
commit 5581e1c07cecf1f9aa32c5dac17e8a8e69a5bae2 Author: Darius Bacon dar...@wry.me Date: Tue Apr 15 16:19:44 2014 -0700 fix doctest (python -m doctest __init__.py was failing) --- oonib/__init__.py |1 - 1 file changed, 1 deletion(-) diff --git a/oonib/__init__.py b/oonib/__init__.py

[tor-commits] [oonib/master] note missing import

2014-04-23 Thread art
commit cebaa01fe3eb8e47f3f1ac47524cf358380ec9b7 Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 11:49:11 2014 -0700 note missing import --- oonib/runner.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oonib/runner.py b/oonib/runner.py index 10bcf65..fb5d090

[tor-commits] [oonib/master] simpler methods in Storage

2014-04-23 Thread art
commit e8304df436d1a0ca84f6c50a015acb65b0470b93 Author: Darius Bacon dar...@wry.me Date: Tue Apr 15 16:14:51 2014 -0700 simpler methods in Storage --- oonib/__init__.py |8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/oonib/__init__.py b/oonib/__init__.py

[tor-commits] [oonib/master] Fix bug introduce in previous PR.

2014-04-23 Thread art
commit 540e30528ddce5dabbb76240d5cbcdfe780c631a Author: Arturo Filastò a...@fuffa.org Date: Mon Apr 21 19:23:59 2014 +0200 Fix bug introduce in previous PR. --- oonib/bouncer/handlers.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oonib/bouncer/handlers.py

[tor-commits] [oonib/master] Most of the body of this doesn't need to be in the scope of the 'with'. (This comes up in lots of the other 'with's in this codebase.)

2014-04-23 Thread art
commit 8ade100d5df1730c6d953c5f1916cb79234d8fd4 Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 11:37:31 2014 -0700 Most of the body of this doesn't need to be in the scope of the 'with'. (This comes up in lots of the other 'with's in this codebase.) --- oonib/policy/handlers.py |

[tor-commits] [oonib/master] remove unused (and confusing) global

2014-04-23 Thread art
commit d61784b8bad62d5be71975db2359b784db7b7dcb Author: Darius Bacon dar...@wry.me Date: Tue Apr 15 16:30:54 2014 -0700 remove unused (and confusing) global --- oonib/config.py |1 - 1 file changed, 1 deletion(-) diff --git a/oonib/config.py b/oonib/config.py index afe3091..1388e6b

[tor-commits] [oonib/master] tighter try/except/with blocks

2014-04-23 Thread art
commit 112a7e2655f2ec2ea94670361c094dcaa51b85f5 Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 12:06:12 2014 -0700 tighter try/except/with blocks --- oonib/deck/handlers.py | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/oonib/deck/handlers.py

[tor-commits] [oonib/master] Avoid the possibility of accidentally sharing the same mutable list for self.input and self.nettest.

2014-04-23 Thread art
commit ec09d0763e820165e2b9630a4c2eb6ece80f717f Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 11:40:08 2014 -0700 Avoid the possibility of accidentally sharing the same mutable list for self.input and self.nettest. --- oonib/policy/handlers.py |3 ++- 1 file changed, 2

[tor-commits] [oonib/master] Check version semantically instead of by string (the old code answers wrong for '0.10.0').

2014-04-23 Thread art
commit 480b19722b918abdfaae0d4e694e829a77c2a7a4 Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 10:58:20 2014 -0700 Check version semantically instead of by string (the old code answers wrong for '0.10.0'). --- oonib/runner.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[tor-commits] [oonib/master] move write() out of the scope of an IOError catch clause not meant for it

2014-04-23 Thread art
commit b4eb149099b64bcfccc8a8f2fd0c5008c74a4fe0 Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 12:00:10 2014 -0700 move write() out of the scope of an IOError catch clause not meant for it --- oonib/deck/handlers.py |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff

[tor-commits] [oonib/master] tighter try/except/with blocks

2014-04-23 Thread art
commit 9302045df0bce7689e06fb2fa868fd093f70b866 Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 12:13:34 2014 -0700 tighter try/except/with blocks --- oonib/input/handlers.py | 28 1 file changed, 16 insertions(+), 12 deletions(-) diff --git

[tor-commits] [oonib/master] clearer logic by eliminating checking_first_packet and bringing assignments to the same variable closer together

2014-04-23 Thread art
commit e3fe7ae7b44e9a1e2ac473588efdb3591332db42 Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 11:40:28 2014 -0700 clearer logic by eliminating checking_first_packet and bringing assignments to the same variable closer together --- oonib/daphn3.py | 23 +-- 1

[tor-commits] [oonib/master] fix 'false midnight' bug (https://lwn.net/Articles/590299/ for an explanation)

2014-04-23 Thread art
commit 443df222c023b4b737582037649a24460a2834d3 Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 10:49:40 2014 -0700 fix 'false midnight' bug (https://lwn.net/Articles/590299/ for an explanation) --- oonib/otime.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[tor-commits] [oonib/master] remove mutable class-level variable that's always overridden by a fresh instance variable with the same name (at least within this code, and I'm going to assume that's how

2014-04-23 Thread art
commit 64615d89908b18469281d84b2cbe70b7a3a110d8 Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 12:28:59 2014 -0700 remove mutable class-level variable that's always overridden by a fresh instance variable with the same name (at least within this code, and I'm going to assume that's

[tor-commits] [oonib/master] simpler Config.load()

2014-04-23 Thread art
commit abfaed208212af9c65de0fed6ab1ea5b344e4823 Author: Darius Bacon dar...@wry.me Date: Tue Apr 15 16:24:56 2014 -0700 simpler Config.load() --- oonib/config.py | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/oonib/config.py b/oonib/config.py index

[tor-commits] [oonib/master] Fix: old code could raise a KeyError because choices[c] preceded the if c in choices

2014-04-23 Thread art
commit e9e4701794b40ac2e7fdc97a3d71189820634b06 Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 11:08:41 2014 -0700 Fix: old code could raise a KeyError because choices[c] preceded the if c in choices --- oonib/bouncer/handlers.py |7 +++ 1 file changed, 3 insertions(+), 4

[tor-commits] [oonib/master] More-direct code for validateNettest, as long as I'm messing with it. You could do the same to validateInputHash.

2014-04-23 Thread art
commit fcd5b892f03431bc79978321320453423931cbf6 Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 11:36:00 2014 -0700 More-direct code for validateNettest, as long as I'm messing with it. You could do the same to validateInputHash. --- oonib/policy/handlers.py | 12 +++- 1

[tor-commits] [oonib/master] a more-direct test

2014-04-23 Thread art
commit 304d8a5d5d86f51af40b8fd4af7e628afcba156c Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 11:55:38 2014 -0700 a more-direct test --- oonib/bouncer/handlers.py |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/oonib/bouncer/handlers.py

[tor-commits] [oonib/master] Fix typo in parsing of nettests.

2014-04-23 Thread art
commit 2fd5df09bd739c773eb58d2919c07e3dd24807d5 Author: Arturo Filastò a...@fuffa.org Date: Fri Mar 28 18:36:47 2014 +0100 Fix typo in parsing of nettests. Thanks to @Darius for spotting it. --- oonib/policy/handlers.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[tor-commits] [oonib/master] Remove unused duplicate of updateKnownHelpers

2014-04-23 Thread art
commit f9fd863c1707497a0fa8486b239aa97177c94502 Author: Taylor Hornby ha...@defuse.ca Date: Thu Mar 27 11:17:01 2014 -0600 Remove unused duplicate of updateKnownHelpers --- oonib/bouncer/handlers.py | 13 - 1 file changed, 13 deletions(-) diff --git

[tor-commits] [oonib/master] Handle writing exceptions that don't have log_exception attribute

2014-04-23 Thread art
commit 0148e9951a7fc7505becd2bfb47e3fcae6c05533 Author: Arturo Filastò a...@fuffa.org Date: Mon Apr 21 19:37:10 2014 +0200 Handle writing exceptions that don't have log_exception attribute --- oonib/handlers.py |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[tor-commits] [oonib/master] Merge branch 'darius'

2014-04-23 Thread art
commit 7b35b7fa5a3d81f6574c7494cde0ac705d4e2cea Merge: 873b193 168a7c9 Author: Arturo Filastò a...@fuffa.org Date: Mon Apr 21 19:42:16 2014 +0200 Merge branch 'darius' * darius: Handle writing exceptions that don't have log_exception attribute Fix bug introduce in

[tor-commits] [oonib/master] Merge branch 'master' of github.com:TheTorProject/ooni-backend

2014-04-23 Thread art
commit 873b193ad40a625e58cdf3004600d0e40d61ac6c Merge: 0148e99 207e4b0 Author: Arturo Filastò a...@fuffa.org Date: Mon Apr 21 19:39:37 2014 +0200 Merge branch 'master' of github.com:TheTorProject/ooni-backend * 'master' of github.com:TheTorProject/ooni-backend: If p is a

[tor-commits] [oonib/master] Make the CC regexp also more accurate

2014-04-23 Thread art
commit 40930004c23163d0c38423026bd4e14e9942846d Author: Arturo Filastò a...@fuffa.org Date: Thu Mar 27 22:10:07 2014 +0100 Make the CC regexp also more accurate --- bin/archive_oonib_reports |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/archive_oonib_reports

[tor-commits] [oonib/master] clearer check_paths()

2014-04-23 Thread art
commit 16dab41d88997b1132a444007d69eee696623b01 Author: Darius Bacon dar...@wry.me Date: Tue Apr 15 16:11:03 2014 -0700 clearer check_paths() --- oonib/config.py | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/oonib/config.py b/oonib/config.py index

[tor-commits] [oonib/master] remove duplicate import

2014-04-23 Thread art
commit 486f8e147df22f59dcb1db091d79949150719743 Author: Darius Bacon dar...@wry.me Date: Wed Apr 16 11:46:32 2014 -0700 remove duplicate import --- oonib/options.py |1 - 1 file changed, 1 deletion(-) diff --git a/oonib/options.py b/oonib/options.py index 7acdc23..d5c87b3 100644 ---

[tor-commits] [oonib/master] Export ssl_helpers. (Or was it meant to be left out?)

2014-04-23 Thread art
commit bf6aa6024200724cc79b219f5dd2cc491932b297 Author: Darius Bacon dar...@wry.me Date: Fri Mar 28 11:26:31 2014 -0700 Export ssl_helpers. (Or was it meant to be left out?) --- oonib/testhelpers/__init__.py |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[tor-commits] [tor/master] Merge remote-tracking branch 'public/bug9229_025'

2014-04-23 Thread nickm
commit 7b4b137dc9b97c74b55a5835926513d7333fff67 Merge: 0cca8dc 6ab10a5 Author: Nick Mathewson ni...@torproject.org Date: Wed Apr 23 10:57:46 2014 -0400 Merge remote-tracking branch 'public/bug9229_025' Conflicts: src/or/entrynodes.c changes/bug9229_025 |5 +

[tor-commits] [tor/master] Make num_bridges_usable work properly.

2014-04-23 Thread nickm
commit 6ab10a546663b509d189ce16645b11af0e83d41c Author: Nick Mathewson ni...@torproject.org Date: Tue Apr 8 15:49:49 2014 -0400 Make num_bridges_usable work properly. My first implementation was broken, since it returned whether there is one bridge rather than how many bridges.

[tor-commits] [tor/master] Fix our check for the first bridge descriptor.

2014-04-23 Thread nickm
commit 7aa21920481fc4f0bdb159aeedf11582aa95dd01 Author: Nick Mathewson ni...@torproject.org Date: Mon Mar 10 15:11:21 2014 -0400 Fix our check for the first bridge descriptor. This is meant to be a better bug 9229 fix -- or at least, one more in tune with the intent of the

[tor-commits] [tor/maint-0.2.4] Update ns downloads when we receive a bridge descriptor

2014-04-23 Thread nickm
commit db72479eea4b5bbd73d1fa33f4c9e4e4e2b99b04 Author: Nick Mathewson ni...@torproject.org Date: Mon Mar 10 15:01:27 2014 -0400 Update ns downloads when we receive a bridge descriptor This prevents long stalls when we're starting with a state file but with no bridge

[tor-commits] [tor/master] Merge remote-tracking branch 'public/bug9229_024' into maint-0.2.4

2014-04-23 Thread nickm
commit 9e44df2c98208fc6d0c3e9f9b3834f54e8a37cd8 Merge: 3fc0f9e db72479 Author: Nick Mathewson ni...@torproject.org Date: Wed Apr 23 11:01:39 2014 -0400 Merge remote-tracking branch 'public/bug9229_024' into maint-0.2.4 changes/bug9229 |5 + src/or/entrynodes.c |6 +- 2

[tor-commits] [tor/master] Merge remote-tracking branch 'origin/maint-0.2.4'

2014-04-23 Thread nickm
commit 9fb86c82da9afff11b05783777dc83f80b835178 Merge: 7b4b137 9e44df2 Author: Nick Mathewson ni...@torproject.org Date: Wed Apr 23 11:04:10 2014 -0400 Merge remote-tracking branch 'origin/maint-0.2.4' This is an ours merge, to avoid taking the 0.2.4 version of the

[tor-commits] [tor/master] Update ns downloads when we receive a bridge descriptor

2014-04-23 Thread nickm
commit db72479eea4b5bbd73d1fa33f4c9e4e4e2b99b04 Author: Nick Mathewson ni...@torproject.org Date: Mon Mar 10 15:01:27 2014 -0400 Update ns downloads when we receive a bridge descriptor This prevents long stalls when we're starting with a state file but with no bridge

[tor-commits] [tor/master] Rename the got_hup element of managed proxies.

2014-04-23 Thread nickm
commit fa0c5da68ba472eed004cd87f198854885cff453 Author: George Kadianakis desnac...@riseup.net Date: Tue Apr 8 17:22:36 2014 +0100 Rename the got_hup element of managed proxies. Since we need to toggle that element in non-SIGHUP situations too where the config was re-read (like

  1   2   >