Use the new terminology secondary arch -> alternative arch

This commit is contained in:
Pierre-Yves Chibon 2016-10-20 10:39:07 +02:00
parent e91c9d9472
commit 16439c95af

View file

@ -2,8 +2,8 @@
""" """
This is a git hook meant to warn the secondary arch folks about package This is a git hook meant to warn the alternative arches folks about package
that turned off building on secondary arches. that turned off building on alternative arches.
""" """
from __future__ import print_function from __future__ import print_function
@ -139,7 +139,7 @@ def send_email(text, subject, to_mail): # pragma: no cover
def run_as_post_receive_hook(): def run_as_post_receive_hook():
''' Check what was changed in the commit(s) and warn the secondary-arch ''' Check what was changed in the commit(s) and warn the alternative-arch
folks if either ExclusiveArch or ExcludesArch are changed. folks if either ExclusiveArch or ExcludesArch are changed.
''' '''
for line in sys.stdin: for line in sys.stdin:
@ -169,7 +169,7 @@ def run_as_post_receive_hook():
print('Commit %s selected' % commit) print('Commit %s selected' % commit)
if exclude_arch: if exclude_arch:
print('Notifying secondary-arch people') print('Notifying alternative-arch people')
package = '/'.join(abspath.rsplit(os.path.sep, 2)[-2:]) package = '/'.join(abspath.rsplit(os.path.sep, 2)[-2:])
if DEBUG: if DEBUG:
print('Package:', package) print('Package:', package)