7828: Syntax Error with python3 on test function for Ukrainian relationship calculator

This commit is contained in:
Ross Gammon 2014-06-17 16:50:58 +02:00 committed by Jérôme Rapinat
parent 6f7f30f547
commit 166dace001

View File

@ -900,7 +900,7 @@ if __name__ == "__main__":
import sys import sys
# If someone go out # If someone go out
def goodby(signal, frame): def goodby(signal, frame):
print 'No more Drink!' print('No more Drink!')
sys.exit(0) sys.exit(0)
signal.signal(signal.SIGINT, goodby) signal.signal(signal.SIGINT, goodby)
# Run test # Run test