You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by jl...@apache.org on 2016/07/26 13:53:40 UTC

incubator-airflow git commit: [AIRFLOW-362] Import __future__ division

Repository: incubator-airflow
Updated Branches:
  refs/heads/master edce74123 -> 2c931abb3


[AIRFLOW-362] Import __future__ division

Fix integer division fencepost error on S3 chunked transfers

Closes #1683 from clearclaw/master


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

Branch: refs/heads/master
Commit: 2c931abb36826f96caefcc2663da8262816a5b1d
Parents: edce741
Author: J C Lawrence <cl...@kanga.nu>
Authored: Tue Jul 26 09:47:36 2016 -0400
Committer: jlowin <jl...@users.noreply.github.com>
Committed: Tue Jul 26 09:47:49 2016 -0400

----------------------------------------------------------------------
 airflow/hooks/S3_hook.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/2c931abb/airflow/hooks/S3_hook.py
----------------------------------------------------------------------
diff --git a/airflow/hooks/S3_hook.py b/airflow/hooks/S3_hook.py
index 2b8d3db..54978d9 100644
--- a/airflow/hooks/S3_hook.py
+++ b/airflow/hooks/S3_hook.py
@@ -12,6 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+from __future__ import division
 from future import standard_library
 standard_library.install_aliases()
 import logging