chrome/installer/mac/signing/notarize.py
def staple(path):
    """Staples a notarization ticket to the artifact at |path|. The
    notarization must have been performed with submit() and then completed by
    Apple's notary service, which can be checked with wait_for_one_result().

    Args:
        path: The path to the artifact that had previously been submitted for
            notarization and is now ready for stapling.
    """

    def staple_command():
        commands.run_command(['xcrun', 'stapler', 'staple', '--verbose', path])

    # Known bad codes:
    # 65 - CloudKit query failed due to "(null)"
    # 68 - A server with the specified hostname could not be found.
    _notary_service_retry(staple_command, (65, 68), 'staple')
Staples a notarization ticket to the artifact at |path|. The
    notarization must have been performed with submit() and then completed by
    Apple's notary service, which can be checked with wait_for_one_result().

    Args:
        path: The path to the artifact that had previously been submitted for
            notarization and is now ready for stapling.
    
Staples a notarization ticket to the artifact at |path|. The
notarization must have been performed with submit() and then completed by
Apple's notary service, which can be checked with wait_for_one_result().
Staples a notarization ticket to the artifact at |path| . The notarization must have been performed with submit () and then completed by Apple ' s notary service which can be checked with wait_for_one_result () .
def staple(path):
    def staple_command():
        commands.run_command(['xcrun', 'stapler', 'staple', '--verbose', path])
    _notary_service_retry(staple_command, (65, 68), 'staple')
def staple ( path ) : def staple_command ( ) : commands . run_command ( [ 'xcrun' , 'stapler' , 'staple' , '--verbose' , path ] ) _notary_service_retry ( staple_command , ( 65 , 68 ) , 'staple' )
Staples a notarization ticket to the artifact at |path|.
Staples a notarization ticket to the artifact at |path| .
"""Staples a notarization ticket to the artifact at |path|. The
    notarization must have been performed with submit() and then completed by
    Apple's notary service, which can be checked with wait_for_one_result().

    Args:
        path: The path to the artifact that had previously been submitted for
            notarization and is now ready for stapling.
    """ # Known bad codes: # 65 - CloudKit query failed due to "(null)" # 68 - A server with the specified hostname could not be found.
path
The path to the artifact that had previously been submitted for
notarization and is now ready for stapling.
The path to the artifact that had previously been submitted for notarization and is now ready for stapling .