mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-19 22:48:01 +02:00
2021-11-11 Fred Gleason <fredg@paravelsystems.com>
* Removed debugging code from 'web/rdxport/carts.cpp'. * Removed debugging code from 'apis/rivwebpyapi/api/rivwebpyapi.py'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
5bb2211cea
commit
04ea0f0ca6
@ -22609,3 +22609,6 @@
|
||||
'web/tests/listcarts.html'.
|
||||
2021-11-11 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added a 'ListCarts()' method to the 'rivwebpyapi' API.
|
||||
2021-11-11 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Removed debugging code from 'web/rdxport/carts.cpp'.
|
||||
* Removed debugging code from 'apis/rivwebpyapi/api/rivwebpyapi.py'.
|
||||
|
@ -277,7 +277,6 @@ class rivwebpyapi(object):
|
||||
'songId': 'string'
|
||||
}
|
||||
handler=RivWebPyApi_ListHandler(base_tag='cart',fields=fields)
|
||||
print(r.text)
|
||||
xml.sax.parseString(r.text,handler)
|
||||
|
||||
return handler.output()
|
||||
|
@ -174,10 +174,7 @@ void Xport::ListCarts()
|
||||
printf("Status: 200\n\n");
|
||||
printf("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n");
|
||||
printf("<cartList>\n");
|
||||
QByteArray data=RDCart::xml(q,include_cuts,true).toUtf8();
|
||||
// printf("%s\n",RDCart::xml(q,include_cuts,true).toUtf8().constData());
|
||||
fwrite(data,1,data.size(),stdout);
|
||||
rda->syslog(LOG_NOTICE,"xml size: %d",data.size());
|
||||
printf("%s\n",RDCart::xml(q,include_cuts,true).toUtf8().constData());
|
||||
printf("</cartList>\n");
|
||||
delete q;
|
||||
Exit(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user