[tune] Remove py2.7-specific code (#6665)

* Remove backwards compatability py2.7 code.

* Use exists_ok=True in ray

* nit

* nit

Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
This commit is contained in:
Ujval Misra
2020-01-03 01:03:13 -08:00
committed by Richard Liaw
co-authored by Richard Liaw
parent 970cd78701
commit 5b40408678
9 changed files with 18 additions and 52 deletions
+1 -4
View File
@@ -7,10 +7,7 @@ import logging
import os
import time
try: # py3
from shlex import quote
except ImportError: # py2
from pipes import quote
from shlex import quote
from ray import services
from ray.tune.cluster_info import get_ssh_key, get_ssh_user