Skip to content

Commit

Permalink
Merge CMSSW_10_6_X into CMSSW_10_6_DEVEL_X.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmsbuild committed Apr 2, 2019
2 parents ff66f6e + 45df373 commit 4d765b4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions FWCore/ParameterSet/python/Mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,9 +656,8 @@ def _itemsFromStrings(strings,converter):
return (converter(x).value() for x in strings)

def saveOrigin(obj, level):
frame = inspect.stack()[level+1]
if isinstance(frame,tuple): frame=frame[0] #python3 changes this to a tuple where the first thing is the frame
fInfo=inspect.getframeinfo(frame)
import sys
fInfo = inspect.getframeinfo(sys._getframe(level+1))
obj._filename = fInfo.filename
obj._lineNumber =fInfo.lineno

Expand Down

0 comments on commit 4d765b4

Please sign in to comment.