File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -3444,19 +3444,18 @@ def reproduce_build(app, reprod_dir_root):
34443444 for easyblock_instance in easyblock_instances :
34453445 for easyblock_class in inspect .getmro (type (easyblock_instance )):
34463446 easyblock_path = inspect .getsourcefile (easyblock_class )
3447- easyblock_basedir , easyblock_filename = os .path .split (easyblock_path )
34483447 # if we reach EasyBlock or ExtensionEasyBlock class, we are done
34493448 # (ExtensionEasyblock is hardcoded to avoid a cyclical import)
34503449 if easyblock_class .__name__ in [EasyBlock .__name__ , 'ExtensionEasyBlock' ]:
34513450 break
34523451 else :
34533452 easyblock_paths .add (easyblock_path )
3453+
34543454 for easyblock_path in easyblock_paths :
3455+ easyblock_basedir , easyblock_filename = os .path .split (easyblock_path )
34553456 copy_file (easyblock_path , os .path .join (reprod_easyblock_dir , easyblock_filename ))
34563457 _log .info ("Dumped easyblock %s required for reproduction to %s" , easyblock_filename , reprod_easyblock_dir )
34573458
3458-
3459-
34603459 # if there is a hook file we should also archive it
34613460 hooks_path = build_option ('hooks' )
34623461 if hooks_path :
You can’t perform that action at this time.
0 commit comments