Commit 57d47bac authored by Chris Shallue's avatar Chris Shallue Committed by Christopher Shallue
Browse files

Update `mode` for compatibility with Python 3.

PiperOrigin-RevId: 188502535
parent 05ccaf88
......@@ -90,7 +90,7 @@ def main(argv):
f.write("echo 'Finished downloading {} Kepler targets to {}'\n".format(
num_kepids, FLAGS.download_dir))
os.chmod(FLAGS.output_file, 0744) # Make the download script executable.
os.chmod(FLAGS.output_file, 0o744) # Make the download script executable.
print("{} Kepler targets will be downloaded to {}".format(
num_kepids, FLAGS.output_file))
print("To start download, run:\n {}".format("./" + FLAGS.output_file
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment