Fixes for Python 3 and refactoring: Merge generic Output class into specialized output classes as some need to write files in binary mode.

This commit is contained in:
Stefan Rado
2014-02-15 21:37:47 +01:00
parent 1a7518a422
commit d30335cb3f
7 changed files with 65 additions and 50 deletions
+1 -1
View File
@@ -2,4 +2,4 @@ python px_process_params.py
rm cookies.txt
curl --cookie cookies.txt --cookie-jar cookies.txt --user-agent Mozilla/4.0 --data "u=$XMLRPCUSER&p=$XMLRPCPASS" https://pixhawk.org/start?do=login
curl -k --cookie cookies.txt -H "Content-Type: application/xml" -X POST --data-binary @parameters.wiki "https://pixhawk.org/lib/exe/xmlrpc.php"
curl -k --cookie cookies.txt -H "Content-Type: application/xml" -X POST --data-binary @parameters.wikirpc.xml "https://pixhawk.org/lib/exe/xmlrpc.php"