carolinux / gdata-python-client

Automatically exported from code.google.com/p/gdata-python-client
0 stars 1 forks source link

Python - API v2.0.16 - Error in docs_v3_example.py (AddAclSample) #582

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
File:        docs_v3_example.py
Function:    AddAclSample 

Defect:      Line 208 is missing a character

Current Line:
  client.AddAclEntry(doc, acl_entry, send_notification=False)

Corrected Line:
  client.AddAclEntry(doc, acl_entry, send_notifications=False)

If 's' is not in the line, the following error will be generated:

  File "/home/rgordon/googleadmin/lib/gdata-current/gdata/docs/client.py", line 66, in request
    return super(DocsClient, self).request(method=method, uri=uri, **kwargs)
  File "/home/rgordon/googleadmin/lib/gdata-current/gdata/client.py", line 267, in request
    uri=uri, auth_token=auth_token, http_request=http_request, **kwargs)
  File "/home/rgordon/googleadmin/lib/gdata-current/atom/client.py", line 98, in request
    value.modify_request(http_request)
AttributeError: 'bool' object has no attribute 'modify_request'

Original issue reported on code.google.com by robert.e...@seagate.com on 9 Jan 2012 at 1:25

GoogleCodeExporter commented 9 years ago
Thanks for the report and the fix, pushed in: #1120

Original comment by afs...@google.com on 2 Feb 2012 at 2:51