diff options
Diffstat (limited to '')
-rw-r--r-- | sca-cpp/trunk/samples/store-gae/fruits-catalog.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sca-cpp/trunk/samples/store-gae/fruits-catalog.py b/sca-cpp/trunk/samples/store-gae/fruits-catalog.py index 75c18f5f99..2a6d726fdc 100644 --- a/sca-cpp/trunk/samples/store-gae/fruits-catalog.py +++ b/sca-cpp/trunk/samples/store-gae/fruits-catalog.py @@ -17,7 +17,7 @@ # Catalog implementation -def get(converter, currencyCode): +def getcatalog(converter, currencyCode): code = currencyCode() def convert(price): return converter("convert", "USD", code, price) @@ -28,7 +28,3 @@ def get(converter, currencyCode): (("'javaClass", "services.Item"), ("'name", "Pear"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(1.55))) ) -# TODO remove these JSON-RPC specific functions -def listMethods(converter, currencyCode): - return ("Service.get",) - |