Browse Source

Making "get pages" retry

Swaroop C H 12 years ago
parent
commit
62f4456cd5
1 changed files with 1 additions and 0 deletions
  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"])