Removed flags decorator as short flags are no longer used.

This commit is contained in:
hackrush 2018-03-09 21:43:07 +05:30
parent 1d9c996217
commit f7f6770120
2 changed files with 3 additions and 9 deletions

View file

@ -18,6 +18,7 @@ at anytime.
* `blob_list` error when looking up blobs by stream or sd hash
* issue#1107 whereing claiming a channel with the exact amount present in wallet would give out proper error
* Fix channel creation to use same bid logic as claim ([1148])(https://github.com/lbryio/lbry/pull/1148)
*
### Deprecated
* `report_bug` jsonrpc command
@ -26,6 +27,7 @@ at anytime.
### Changed
* reflector server to periodically check and set `should_announce` for sd and head blobs instead of during each request
* reflector server to use `SQLiteStorage` to find needed blob hashes for a stream
*
### Added
* scripts to autogenerate documentation
@ -34,6 +36,7 @@ at anytime.
### Removed
* short(single dashed) arguments for `lbrynet-cli`
* `flags` decorator from server.py as short flags are no longer used when using api/cli methods
*

View file

@ -149,15 +149,6 @@ class AuthorizedBase(object):
return f
return _deprecated_wrapper
@staticmethod
def flags(**kwargs):
def _flag_wrapper(f):
f._flags = {}
for k, v in kwargs.iteritems():
f._flags[v] = k
return f
return _flag_wrapper
class AuthJSONRPCServer(AuthorizedBase):
"""Authorized JSONRPC server used as the base class for the LBRY API