Large refactoring of AmiLib to reduce cut'n'paste code, more robust error
reporting, throw proper exceptions. Prevent AthFileLits from running AthenaMP mode (PyUtils-00-14-07) * python/AmiLib.py - Remove commented out code * Tagging as PyUtils-00-14-07 2014-12-18 Graeme Stewart <graeme.andrew.stewart@cern.ch> * python/AmiLib.py - Another big refactoring: - badresult improved and now returns a boolean and an error message - Rename dry_run to dryrun for consistency - Introduce PyUtilsAMIException exception, which now gets thrown consistently if there are problems - Consolidate the functions of get_project_of_pkg, get_version_of_pkg and tc_submit_tag._get_projects into single method get_pkg_info - Rewrite get_version_of_pkg_with_deps to use module utilities - Simplify find_pkg to remove callback function * python/scripts/tc_find_pkg.py * python/scripts/tc_find_tag.py - Embed script in try: except PyUtilsAMIException: * python/scripts/tc_show_clients.py - Update to get_pkg_info (N.B. Script is still non-functional and disabled) ... (Long ChangeLog diff - truncated)
Showing
- Tools/PyUtils/bin/checkMetaSG.py 106 additions, 0 deletionsTools/PyUtils/bin/checkMetaSG.py
- Tools/PyUtils/bin/checkxAOD.py 33 additions, 2 deletionsTools/PyUtils/bin/checkxAOD.py
- Tools/PyUtils/bin/dumpAthfilelite.py 45 additions, 0 deletionsTools/PyUtils/bin/dumpAthfilelite.py
- Tools/PyUtils/cmt/requirements 4 additions, 1 deletionTools/PyUtils/cmt/requirements
- Tools/PyUtils/python/AmiLib.py 329 additions, 384 deletionsTools/PyUtils/python/AmiLib.py
- Tools/PyUtils/python/AthFile/impl.py 34 additions, 10 deletionsTools/PyUtils/python/AthFile/impl.py
- Tools/PyUtils/python/AthFileLite.py 357 additions, 0 deletionsTools/PyUtils/python/AthFileLite.py
- Tools/PyUtils/python/Dso.py 26 additions, 24 deletionsTools/PyUtils/python/Dso.py
- Tools/PyUtils/python/Helpers.py 101 additions, 0 deletionsTools/PyUtils/python/Helpers.py
- Tools/PyUtils/python/PoolFile.py 6 additions, 4 deletionsTools/PyUtils/python/PoolFile.py
- Tools/PyUtils/python/RootUtils.py 8 additions, 6 deletionsTools/PyUtils/python/RootUtils.py
- Tools/PyUtils/python/scripts/__init__.py 3 additions, 4 deletionsTools/PyUtils/python/scripts/__init__.py
- Tools/PyUtils/python/scripts/cmt_newalg.py 264 additions, 0 deletionsTools/PyUtils/python/scripts/cmt_newalg.py
- Tools/PyUtils/python/scripts/cmt_newmetadataalg.py 274 additions, 0 deletionsTools/PyUtils/python/scripts/cmt_newmetadataalg.py
- Tools/PyUtils/python/scripts/cmt_newpyalg.py 139 additions, 0 deletionsTools/PyUtils/python/scripts/cmt_newpyalg.py
- Tools/PyUtils/python/scripts/gen_klass.py 5 additions, 5 deletionsTools/PyUtils/python/scripts/gen_klass.py
- Tools/PyUtils/python/scripts/tc_find_pkg.py 18 additions, 21 deletionsTools/PyUtils/python/scripts/tc_find_pkg.py
- Tools/PyUtils/python/scripts/tc_find_tag.py 31 additions, 28 deletionsTools/PyUtils/python/scripts/tc_find_tag.py
- Tools/PyUtils/python/scripts/tc_show_clients.py 2 additions, 2 deletionsTools/PyUtils/python/scripts/tc_show_clients.py
- Tools/PyUtils/python/scripts/tc_submit_tag.py 133 additions, 164 deletionsTools/PyUtils/python/scripts/tc_submit_tag.py
Loading
Please register or sign in to comment