f30dbeb56e9df2f061fb2a5d4a0280ad285060ee,cpnose.py,,,#,7

Before Change


    import cellprofiler.preferences as cpprefs
    cpprefs.set_headless()
    import wx
    for s in dir(wx):
        del wx.__dict__[s]

if "--nojavatests" in sys.argv:
    sys.argv.remove("--nojavatests")
    import cellprofiler.utilities.jutil as jutil
    jutil.start_vm = None

After Change


    sys.argv.remove("--noguitests")
    import cellprofiler.preferences as cpprefs
    cpprefs.set_headless()
    sys.modules["wx"] = None

if "--nojavatests" in sys.argv:
    sys.argv.remove("--nojavatests")
    import cellprofiler.utilities.jutil as jutil
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: CellProfiler/CellProfiler
Commit Name: f30dbeb56e9df2f061fb2a5d4a0280ad285060ee
Time: 2012-01-11
Author: thouis@gmail.com
File Name: cpnose.py
Class Name:
Method Name:


Project Name: CellProfiler/CellProfiler
Commit Name: b3ba674b9cd3f1ad09b14915d567f43f85fc13ff
Time: 2012-01-11
Author: leek@broadinstitute.org
File Name: cpnose.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: fa76cb8f8c66e2068d7f7dce5018ff73d7539db5
Time: 2015-02-28
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/zwave.py
Class Name:
Method Name: nice_print_node


Project Name: home-assistant/home-assistant
Commit Name: 71ca07363a9b521523b893dd26841cb1ac5ac8a5
Time: 2015-02-25
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/zwave.py
Class Name:
Method Name: nice_print_node