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

This commit is contained in:
Ross Gammon 2014-06-17 16:44:53 +02:00 committed by Jérôme Rapinat
parent 234ee04a7e
commit a95cbc624f

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