61ab11e21cc726c9bed12f26222e9b5030132638,tensorboard.py,,main,#Any#,89
Before Change
print("Starting TensorBoard %s on port %d" % (tag, FLAGS.port))
if FLAGS.host == "0.0.0.0":
print("(You can navigate to http://%s:%d)" % (socket.gethostbyname(socket.gethostname()) , FLAGS.port))
else:
print("(You can navigate to http://%s:%d)" % (FLAGS.host, FLAGS.port))
After Change
if FLAGS.host == "0.0.0.0":
try:
host = socket.gethostbyname(socket.gethostname())
print("(You can navigate to http://%s:%d)" % (host, FLAGS.port))
except socket.gaierror:
pass
else:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: tensorflow/tensorboard
Commit Name: 61ab11e21cc726c9bed12f26222e9b5030132638
Time: 2016-09-09
Author: danmane@google.com
File Name: tensorboard.py
Class Name:
Method Name: main
Project Name: tensorflow/tensorboard
Commit Name: 7503656ff1e2707fbfb17bd1e8d87638a3cea8bb
Time: 2016-08-31
Author: danmane@gmail.com
File Name: tensorboard.py
Class Name:
Method Name: main
Project Name: ilastik/ilastik
Commit Name: 6058318fef3a681cc4e6ea567d2bee32bc495b87
Time: 2020-02-26
Author: mnovikov.work@gmail.com
File Name: ilastik/applets/serverConfiguration/serverConfigGui.py
Class Name:
Method Name: _fetch_devices