lbry-sdk/lbrynet
Job Evers-Meltzer a15d7ca543 Refactor _download_name
Nested functions are the devil, especially ones that
use variables from the outer scope. Refactoring
_download_name to use a helper class helps make
the scoping more explicit and will undoubtably
prevent bugs in the future.

I think this makes _download_name drastically more readable.

Also cleaned up some duplicated code and
made download_directory respect the passed in parameter
instead of being the default.
2016-07-15 12:42:26 -05:00
..
core Merge pull request #66 from lbryio/add-tests-blob-handler 2016-07-14 09:33:06 -05:00
cryptstream add missing commits 2016-03-17 22:50:15 -04:00
db_migrator Use named loggers, fix some pep8 formatting mistakes 2015-09-08 15:42:56 -04:00
dht add missing commits 2016-03-17 22:50:15 -04:00
lbryfile add -x to filename before extension for duplicate downloads 2016-04-22 02:45:41 -04:00
lbryfilemanager load uri and txid when stream is started 2016-05-10 20:47:35 -04:00
lbrylive merge add-tests-to-travis updates 2016-06-04 15:11:51 -04:00
lbrynet_console rename LBRYcrdWallet.py to LBRYWallet.py and change default wallet to lbrycrd 2016-07-04 04:57:30 -04:00
lbrynet_daemon Refactor _download_name 2016-07-15 12:42:26 -05:00
pointtraderclient initial commit 2015-08-20 11:27:15 -04:00
winhelpers initial commit 2015-08-20 11:27:15 -04:00
__init__.py Bump version: 0.3.5 -> 0.3.6 2016-07-12 17:30:58 -04:00
conf.py re-enable lbryum 2016-07-09 13:31:07 -04:00
create_network.py initial commit 2015-08-20 11:27:15 -04:00
dht_scripts.py Use named loggers, fix some pep8 formatting mistakes 2015-09-08 15:42:56 -04:00
dhttest.py initial commit 2015-08-20 11:27:15 -04:00
interfaces.py better error messages in console when funds are exhausted 2015-09-17 01:43:41 -04:00
node_rpc_cli.py initial commit 2015-08-20 11:27:15 -04:00
rpc_node.py initial commit 2015-08-20 11:27:15 -04:00