438e465a194ab995cabcfe5984ae8c5aaa4b9cbe,buildtests/import/test_app_with_plugins.py,,,#,10

Before Change


   mdl = __import__("dynamic_plugin")
   sys.exit(0)
except Exception as e:
   print("Failed to import the dynamic plugin.")
   sys.exit(1)
finally:
   // 
   // clean up.     

After Change


    print("Attempting to import dynamic_plugin...")
    mdl = __import__("dynamic_plugin")
except ImportError:
    raise SystemExit("Failed to import the dynamic plugin.")
finally:
    // Clean up. Remove files dynamic_plugin.py[c]
    try:
        os.remove(plugin_filename)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


Project Name: pyinstaller/pyinstaller
Commit Name: 438e465a194ab995cabcfe5984ae8c5aaa4b9cbe
Time: 2012-06-28
Author: mzibr.public@gmail.com
File Name: buildtests/import/test_app_with_plugins.py
Class Name:
Method Name:


Project Name: pyinstaller/pyinstaller
Commit Name: e81a68b0100de825bbb5b499a855db15770d56e5
Time: 2012-06-24
Author: dhyams@gmail.com
File Name: buildtests/libraries/test_wx_pubsub_arg1.py
Class Name:
Method Name: OnMessage


Project Name: pyinstaller/pyinstaller
Commit Name: e81a68b0100de825bbb5b499a855db15770d56e5
Time: 2012-06-24
Author: dhyams@gmail.com
File Name: buildtests/libraries/test_wx_pubsub.py
Class Name:
Method Name: OnMessage


Project Name: pyinstaller/pyinstaller
Commit Name: 3d59dba45d273b5159d01414cb300d6928f72d7a
Time: 2015-05-06
Author: h.goebel@crazy-compilers.com
File Name: tests/libraries/test_enchant.py
Class Name:
Method Name:


Project Name: pyinstaller/pyinstaller
Commit Name: e81a68b0100de825bbb5b499a855db15770d56e5
Time: 2012-06-24
Author: dhyams@gmail.com
File Name: buildtests/libraries/test_wx_pubsub_kwargs.py
Class Name:
Method Name: OnMessage


Project Name: pyinstaller/pyinstaller
Commit Name: 51cee6fdce5b32f2c3c9fb829f67a5a8dcce5d81
Time: 2015-09-09
Author: mzibr.public@gmail.com
File Name: tests/functional/scripts/pyi_lib_enchant.py
Class Name:
Method Name: