Commits

Miki Tebeka committed 2949c39

Not used

  • Participants
  • Parent commits f70d94e
  • Branches user-urls

Comments (0)

Files changed (1)

 
 def user_urls(user, max=100):
     '''Last 100 urls for user.'''
-    try:
-        return Url.all().filter('user =' , user).order('-created').fetch(max)
-    except db.NeedIndexError: # AppEngine initial indexing might take a while
-        log.error('Not indexed yet')
-        return []
+    return Url.all().filter('user =' , user).order('-created').fetch(max)
 
 def fix_url(url):
     '''Fix url by appending http:// if needed.