7828: Syntax Error with python3 on test function for Ukrainian relationship calculator
This commit is contained in:
parent
6f7f30f547
commit
166dace001
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user