d586c7454fb1bf0bcf2a6866e09d6f6a9774f666,tensorboard/main.py,,run_main,#,44

Before Change



def run_main():
  Initializes flags and calls main().
  tf.app.run(main)


def main(unused_argv=None):
  Standard TensorBoard program CLI.

After Change


  except ImportError:
    pass
  if server.unparsed_argv:
    sys.stderr.write("Unknown flags: %s\nPass --help for help.\n" %
                     (server.unparsed_argv,))
    sys.exit(1)
  sys.exit(server.main())

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: tensorflow/tensorboard
Commit Name: d586c7454fb1bf0bcf2a6866e09d6f6a9774f666
Time: 2018-06-20
Author: jart@google.com
File Name: tensorboard/main.py
Class Name:
Method Name: run_main


Project Name: PIQuIL/QuCumber
Commit Name: 5041068ea241f946217690aee63942261911b42d
Time: 2018-08-07
Author: emerali@users.noreply.github.com
File Name: tasks.py
Class Name:
Method Name: build_docs


Project Name: HyperGAN/HyperGAN
Commit Name: 5a69007e1ab2f4c0b4a549c0a2a8cd9701fd8929
Time: 2017-06-28
Author: mikkel@255bits.com
File Name: examples/colorizer.py
Class Name:
Method Name: search