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:
Roland Winklmeier
2017-05-11 15:02:18 +02:00
committed by Mathew Sutcliffe
parent e848459ccb
commit 8bf9296d51

View File

@@ -453,7 +453,7 @@ class DumperMac(Dumper):
return False
@staticmethod
def fix_library_name(self, file_name):
def fix_library_name(file_name):
basename = os.path.basename(file_name)
dirname = os.path.dirname(file_name)
match = re.match('lib(\w+).(\d).(\d).(\d).dylib', basename)