fix: TypeError: object of type 'int' has no len() #124

Merged
merged 1 commit into from Mar 5, 2012

2 participants

@baverman
def _wsgi_input_to_iterable(http_env):
    istream = http_env.get('wsgi.input')

    length = http_env.get('CONTENT_LENGTH', str(MAX_CONTENT_LENGTH))
    if len(length) == 0:

rpclib/server/wsgi.py:47

@baverman baverman fix: TypeError: object of type 'int' has no len()
def _wsgi_input_to_iterable(http_env):
    istream = http_env.get('wsgi.input')

    length = http_env.get('CONTENT_LENGTH', str(MAX_CONTENT_LENGTH))
    if len(length) == 0:

rpclib/server/wsgi.py:47
2eda1b6
@plq plq merged commit 0e12596 into arskom:master Mar 5, 2012
@plq
arskom member
plq commented Mar 5, 2012

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment