pombreda / appscale

Automatically exported from code.google.com/p/appscale
0 stars 0 forks source link

Datastore_file_distributed does not call sendCommand correctly #147

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Due to Python's typing and default arguments, we failed to notice that we
are calling sendCommand incorrectly (missing a middle argument). More
specifically:

> put_request.sendCommand(self.__datastore_location,
>      tag,
>      put_response,
>      1,
>      KEY_LOCATION,
>      CERT_LOCATION)

should be

> put_request.sendCommand(self.__datastore_location,
>      tag,
>      put_response,
>      1,
>      1,
>      KEY_LOCATION,
>      CERT_LOCATION)

according to

> def sendCommand(self, server, url, response, follow_redirects=1,
>                   secure=0, keyfile=None, certfile=None):

Original issue reported on code.google.com by shattere...@gmail.com on 15 Jan 2010 at 9:37

GoogleCodeExporter commented 9 years ago
Will be fixed with the upgrade to Python GAE 1.3.0.

Original comment by shattere...@gmail.com on 1 Feb 2010 at 6:18

GoogleCodeExporter commented 9 years ago

Original comment by shattere...@gmail.com on 18 Feb 2010 at 8:02

GoogleCodeExporter commented 9 years ago
Fixed. will be in new AppServer

Original comment by nlak...@gmail.com on 2 May 2010 at 11:54