mirror of
https://github.com/wassname/ray.git
synced 2026-09-12 12:51:15 +08:00
Enforce quoting style in Travis. (#4589)
This commit is contained in:
committed by
Robert Nishihara
parent
6697407ec4
commit
e88e706fcc
@@ -746,7 +746,7 @@ def hash_runtime_conf(file_mounts, extra_objs):
|
||||
def add_content_hashes(path):
|
||||
def add_hash_of_file(fpath):
|
||||
with open(fpath, "rb") as f:
|
||||
for chunk in iter(lambda: f.read(2**20), b''):
|
||||
for chunk in iter(lambda: f.read(2**20), b""):
|
||||
hasher.update(chunk)
|
||||
|
||||
path = os.path.expanduser(path)
|
||||
|
||||
Reference in New Issue
Block a user