Cleaned up python support code, removed unused functions.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@897787 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c2add2e090
commit
7d44c7ee8f
5 changed files with 51 additions and 164 deletions
|
|
@ -31,9 +31,9 @@
|
|||
|
||||
int main(const int argc, char** argv) {
|
||||
tuscany::gc_scoped_pool pool;
|
||||
if (argc == 1) {
|
||||
tuscany::python::evalDriverRun(tuscany::cin, tuscany::cout);
|
||||
return 0;
|
||||
if (argc != 2) {
|
||||
tuscany::cerr << "Usage: python-shell <script.py>" << tuscany::endl;
|
||||
return 1;
|
||||
}
|
||||
tuscany::python::evalDriverRun(argv[1], tuscany::cin, tuscany::cout);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue