lbry-sdk/lbrynet/lbrynet_daemon
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
..
daemon_scripts delete accidentally committed file 2016-06-07 03:16:22 -04:00
__init__.py don't mess with logging 2016-06-07 04:19:51 -04:00
LBRYDaemon.py Refactor _download_name 2016-07-15 12:42:26 -05:00
LBRYDaemonCLI.py Revert to 2 params as isinstance cannot support 3+ (#69) 2016-07-13 22:44:02 -05:00
LBRYDaemonControl.py change variable name to lbrynet_log 2016-06-07 04:30:22 -04:00
LBRYDaemonServer.py re-enable lbryum 2016-07-09 13:31:07 -04:00
LBRYDownloader.py download fix 2016-06-28 01:51:05 -04:00
LBRYPublisher.py return publish error message 2016-07-11 21:57:34 -04:00
LBRYUIManager.py check every 30 minutes for a new ui version 2016-07-06 01:27:25 -04:00