airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From san...@apache.org
Subject [1/3] incubator-airflow git commit: temp_patch_2
Date Fri, 06 Apr 2018 01:41:30 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master 86f30debd -> b918a4976


temp_patch_2


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/1d16859f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/1d16859f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/1d16859f

Branch: refs/heads/master
Commit: 1d16859f985b94024aa76017268bd7877ae1fccf
Parents: 8231c19
Author: Siddharth Anand <siddharthanand@yahoo.com>
Authored: Mon Mar 5 18:20:38 2018 +0000
Committer: Siddharth Anand <siddharthanand@yahoo.com>
Committed: Thu Apr 5 18:40:31 2018 -0700

----------------------------------------------------------------------
 dev/airflow-pr | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/1d16859f/dev/airflow-pr
----------------------------------------------------------------------
diff --git a/dev/airflow-pr b/dev/airflow-pr
index d485c12..17c6354 100755
--- a/dev/airflow-pr
+++ b/dev/airflow-pr
@@ -107,12 +107,14 @@ def reflow(text, width=80):
 
 def get_json(url):
     try:
+        print('GOT HERE 11')
         request = urllib.Request(url)
         if GITHUB_OAUTH_KEY:
             request.add_header('Authorization', 'token %s' % GITHUB_OAUTH_KEY)
-
+        print('GOT HERE 12')
         # decode response for Py3 compatibility
         response = urllib.urlopen(request).read().decode('utf-8')
+        print('GOT HERE 13')
         return json.loads(response)
     except urllib.HTTPError as e:
         if (


Mime
View raw message