mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
Py 3.12 syntax fix
This commit is contained in:
@@ -1033,7 +1033,7 @@ def canGetSOName():
|
||||
|
||||
def getSOName(filename):
|
||||
output = runcmd('objdump -p %s' % filename, True)
|
||||
result = re.search('^\s+SONAME\s+(.+)$', output, re.MULTILINE)
|
||||
result = re.search(r'^\s+SONAME\s+(.+)$', output, re.MULTILINE)
|
||||
if result:
|
||||
return result.group(1)
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user