Commits

Anonymous committed 9a976ba

use the correct EventInfo key when multiple EventInfos are there.

  • Participants
  • Parent commits f97b4d3

Comments (0)

Files changed (2)

+2012-02-08  Sebastien Binet  <binet@voatlas51.cern.ch>
+
+	* tagging AthenaPython-00-06-20
+	* use the correct EventInfo key when multiple EventInfos are there.
+	* M python/FilePeekerLib.py
+
 2011-11-09  David Rousseau  <droussea@voatlas107.cern.ch>
 
 	* python/FilePeekerLib.py : fix stupid typo

python/FilePeekerLib.py

         if len(evt_info_keys) != 1:
             _info('more than one EventInfo: %s', evt_info_keys)
             _info(' ==> we\'ll use [%s]', evt_info_keys[0])
-        sg_key = evt_info_keys.pop()
+        sg_key = evt_info_keys[0]
         ei = store.retrieve('EventInfo', sg_key)
         _info('=== [EventInfo#%s] ===', sg_key)
         eid = ei.event_ID()