Browse Source

HUE-8737 [py3] Bump future module version

Romain 6 years ago
parent
commit
4404221940

+ 1 - 1
desktop/core/requirements_py3.txt

@@ -37,7 +37,7 @@ enum34==1.1.6
 enum-compat==0.0.2
 et_xmlfile==1.0.1
 eventlet==0.24.1
-future==0.17.1
+future==0.18.2
 gcs-oauth2-boto-plugin==2.5
 greenlet==0.4.15
 gunicorn==19.9.0

+ 3 - 3
desktop/libs/dashboard/src/dashboard/facet_builder.py

@@ -16,17 +16,17 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-from __future__ import division
-from __future__ import print_function
+from __future__ import division, print_function
 from future import standard_library
 standard_library.install_aliases()
 
 from builtins import str, range
+
 import logging
 import math
 import numbers
-import urllib.request, urllib.parse, urllib.error
 import re
+import urllib.request, urllib.parse, urllib.error
 
 from datetime import datetime, timedelta
 from math import ceil