We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 905fcd4 + fcb4a5b commit cc91330Copy full SHA for cc91330
FWCore/Reflection/scripts/edmCheckClassVersion
@@ -1,7 +1,12 @@
1
#! /usr/bin/env python3
2
3
import sys
4
-import FWCore.Reflection.ClassesDefXmlUtils as ClassesDefUtils
+try:
5
+ import FWCore.Reflection.ClassesDefXmlUtils as ClassesDefUtils
6
+except:
7
+ import os
8
+ sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)),"python"))
9
+ import ClassesDefXmlUtils as ClassesDefUtils
10
11
# recursively check the base classes for a class pointer
12
# as building the streamer will crash if base classes are
0 commit comments