Closed mrchrisadams closed 9 years ago
Hi, Chris - thanks for alerting me to this.
Sorry it took me so long to evaluate it - I have to admit, I forgot I was even supporting Python2, and your error completely confused me. I had to go educate myself in the input
/raw_input
Python 2/3 situation.
This particular PR would break Python3 (where raw_input
has been removed), so I'm closing it, but you did prompt me to write a fix that should let Python2 work again. It's in the trunk now and will be released with 0.2.3.
That works for me, thanks! :+1:
Previously when I would run rdbms-subsetter, I'd get output along the lines of:
Pressing
Y
, ory
would trigger an error, with the script complaint that Y wasn't defined. I had to end up using"Y"
to proceed.This tripped me up when using it on a project of my own, and it's a simple enough fix to add, so I'm proposing the use of
raw_input
instead ofinput
, because it removes the need for you wrapY
in a string when confirming the creation of rows in tables.