Skip to content

Commit

Permalink
Merge pull request #46922 from smuzaffar/141x-fix-import-ClassesDefXm…
Browse files Browse the repository at this point in the history
…lUtils

[14.1]Fix for importing ClassesDefXmlUtils
  • Loading branch information
cmsbuild authored Dec 13, 2024
2 parents bdc4d08 + adedadb commit fbf28bb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion FWCore/Reflection/scripts/edmCheckClassVersion
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#! /usr/bin/env python3

import sys
import FWCore.Reflection.ClassesDefXmlUtils as ClassesDefUtils
try:
import FWCore.Reflection.ClassesDefXmlUtils as ClassesDefUtils
except:
import os
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)),"python"))
import ClassesDefXmlUtils as ClassesDefUtils

# recursively check the base classes for a class pointer
# as building the streamer will crash if base classes are
Expand Down

0 comments on commit fbf28bb

Please sign in to comment.