mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 11:05:44 +08:00
Remove argument 'self' from static method fix_library_name
Summary: fix_library_name is a static method and therefore does not accept argument 'self'. Reviewers: kbasan, msutcliffe Reviewed By: msutcliffe Subscribers: jenkins Tags: #swift_pilot_client Differential Revision: https://dev.swift-project.org/D21
This commit is contained in:
committed by
Mathew Sutcliffe
parent
e848459ccb
commit
8bf9296d51
@@ -453,7 +453,7 @@ class DumperMac(Dumper):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def fix_library_name(self, file_name):
|
def fix_library_name(file_name):
|
||||||
basename = os.path.basename(file_name)
|
basename = os.path.basename(file_name)
|
||||||
dirname = os.path.dirname(file_name)
|
dirname = os.path.dirname(file_name)
|
||||||
match = re.match('lib(\w+).(\d).(\d).(\d).dylib', basename)
|
match = re.match('lib(\w+).(\d).(\d).(\d).dylib', basename)
|
||||||
|
|||||||
Reference in New Issue
Block a user