Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Commit

Permalink
Change raw_input to input in generated python code
Browse files Browse the repository at this point in the history
  • Loading branch information
pstavirs committed Jun 6, 2020
1 parent be98413 commit 1699dba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common/pythonfileformat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ void PythonFileFormat::writeStandardImports(QTextStream &out)
<< " revision " << revision << "\n"
<< "# The script should work out of the box mostly,\n"
<< "# but occassionally might need minor tweaking\n"
<< "# Please report any bugs at http://ostinato.org\n";
<< "# Please report any bugs at https://ostinato.org\n";
out << "\n";
out << "# standard modules\n";
out << "import logging\n";
Expand All @@ -275,9 +275,9 @@ void PythonFileFormat::writePrologue(QTextStream &out)
out << "\n";
out << "# get inputs, if required\n";
out << "while len(host_name) == 0:\n";
out << " host_name = raw_input('Drone\\'s Hostname/IP: ')\n";
out << " host_name = input('Drone\\'s Hostname/IP: ')\n";
out << "while tx_port_number < 0:\n";
out << " tx_port_number = int(raw_input('Tx Port Number: '))\n";
out << " tx_port_number = int(input('Tx Port Number: '))\n";
out << "\n";
out << "drone = DroneProxy(host_name)\n";
out << "\n";
Expand Down

0 comments on commit 1699dba

Please sign in to comment.