script/utils/export_twitter_alchemy.py
changeset 888 6fc6637d8403
parent 886 1e110b03ae96
child 957 e4d0094f097b
--- a/script/utils/export_twitter_alchemy.py	Sun Apr 21 21:55:06 2013 +0200
+++ b/script/utils/export_twitter_alchemy.py	Tue May 07 18:57:54 2013 +0200
@@ -416,7 +416,7 @@
                     get_logger().debug("write http " + repr(project)) #@UndefinedVariable
                     r = requests.put(content_file_write, data=anyjson.dumps(project), headers={'content-type':'application/json'}, params=post_param);
                     get_logger().debug("write http " + repr(r) + " content " + r.text) #@UndefinedVariable
-                    if r.status_code != requests.codes.ok:
+                    if r.status_code != requests.codes.ok:  # @UndefinedVariable
                         r.raise_for_status()
                 else:
                     if content_file_write and os.path.exists(content_file_write):