Explorar el Código

Making "get pages" retry

Swaroop C H hace 12 años
padre
commit
62f4456cd5
Se han modificado 1 ficheros con 1 adiciones y 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"])