Explorar o código

Making "get pages" retry

Swaroop C H %!s(int64=12) %!d(string=hai) anos
pai
achega
62f4456cd5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      fabfile.py

+ 1 - 0
fabfile.py

@@ -436,6 +436,7 @@ def _wordpress_headers():
     }
 
 
+@retry
 def _wordpress_get_pages():
     url = "https://public-api.wordpress.com/rest/v1/sites/{}/posts/"
     url = url.format(OAUTH_CONFIG["blog_id"])