@@ -1878,27 +1878,25 @@ def extract_step(self):
18781878 else :
18791879 raise EasyBuildError ("Unpacking source %s failed" , src ['name' ])
18801880
1881- def patch_step (self , beginpath = None , extension = False ):
1881+ def patch_step (self , beginpath = None ):
18821882 """
18831883 Apply the patches
18841884 """
18851885 for patch in self .patches :
18861886 self .log .info ("Applying patch %s" % patch ['name' ])
18871887 trace_msg ("applying patch %s" % patch ['name' ])
18881888
1889- if not extension :
1890- # patch source at specified index (first source if not specified)
1891- srcind = patch .get ('source' , 0 )
1889+ # patch source at specified index (first source if not specified)
1890+ srcind = patch .get ('source' , 0 )
18921891 # if patch level is specified, use that (otherwise let apply_patch derive patch level)
18931892 level = patch .get ('level' , None )
18941893 # determine suffix of source path to apply patch in (if any)
18951894 srcpathsuffix = patch .get ('sourcepath' , patch .get ('copy' , '' ))
18961895 # determine whether 'patch' file should be copied rather than applied
18971896 copy_patch = 'copy' in patch and 'sourcepath' not in patch
18981897
1899- if not extension :
1900- self .log .debug ("Source index: %s; patch level: %s; source path suffix: %s; copy patch: %s" ,
1901- srcind , level , srcpathsuffix , copy )
1898+ self .log .debug ("Source index: %s; patch level: %s; source path suffix: %s; copy patch: %s" ,
1899+ srcind , level , srcpathsuffix , copy )
19021900
19031901 if beginpath is None :
19041902 try :
0 commit comments