Hi, You can always sign a CLA and submit a patch: http://groups.google.com/group/google-appengine/web/how-to-submit-a-patch-to-the-sdk
-Marzia On Thu, Dec 4, 2008 at 8:14 AM, djidjadji <[EMAIL PROTECTED]> wrote: > > I just got the following warning in the dev_appserver.py (Version 1.1.7) > > xxxx\google_appengine\google\appengine\ext\admin\__init__.py:548: > DeprecationWarning: integer argument expected, got float > for page in range(page_start + 1, page_end + 1): > INFO 2008-12-04 15:43:42,250 dev_appserver.py] "GET > /_ah/admin/datastore?kind=FooBar&start=40 HTTP/1.1" 200 - > > There are 88 FooBar objects in the local datastore. > The problem is that math.floor() returns a float. > If you change line 545 to: (convert float to an int) > > page_start = int(max(math.floor(current_page - max_pager_links / 2), 0)) > > Then the values for the range on line 548 are always int. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
