Skip to content

Commit dc916f8

Browse files
vanridalmaxnbk
authored andcommitted
change to use super() method,
so the inherited method will use GitBash.name(), via cls.name() to access config settings in rez.shells.Shell.find_executable() Signed-off-by: george.ridal <george.ridal@findesign.com.au>
1 parent 4e00cfd commit dc916f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rezplugins/shell/gitbash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def executable_name(cls):
3737

3838
@classmethod
3939
def find_executable(cls, name, check_syspaths=False):
40-
exepath = Bash.find_executable(name, check_syspaths=check_syspaths)
40+
exepath = super(GitBash, cls).find_executable(name, check_syspaths=check_syspaths)
4141

4242
if exepath and "system32" in exepath.lower():
4343
print_warning(

0 commit comments

Comments
 (0)