diff options
author | gnowgi <nagarjun@gnowledge.org> | 2012-08-20 14:59:04 +0530 |
---|---|---|
committer | gnowgi <nagarjun@gnowledge.org> | 2012-08-20 14:59:04 +0530 |
commit | 02b3d1e20002f4388734e62b6d1afbff5b383ba3 (patch) | |
tree | 0f1c248199d700091cfeaaca33d8d2df90ce23ab /gstudio/xmlrpc | |
parent | fd9cc8dfc4a21b606eddf9184da10aebe00f2644 (diff) | |
parent | 1172262373b8b18b6266f49d62e8dc917e007ee5 (diff) | |
download | gnowsys-02b3d1e20002f4388734e62b6d1afbff5b383ba3.tar.gz |
Merge branch 'master' of git.sv.gnu.org:/srv/git/gnowsys
Diffstat (limited to 'gstudio/xmlrpc')
-rw-r--r-- | gstudio/xmlrpc/metaweblog.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gstudio/xmlrpc/metaweblog.py b/gstudio/xmlrpc/metaweblog.py index 91d9eda..2e5e03d 100644 --- a/gstudio/xmlrpc/metaweblog.py +++ b/gstudio/xmlrpc/metaweblog.py @@ -837,7 +837,7 @@ def set_relation(d,obj1,obj2) : except Relationtype.DoesNotExist : return "Relationtype Does Not Exist" -# Previous version of the following methods +# Previous version of ``show_id`` and ``show_instance`` # @xmlrpc_func(returns='list') # def list_id(): @@ -870,8 +870,7 @@ def instance_checker(m, instance, option, id=None): if option == "all": return [id.id for id in cc[i].objects.all()] else: - # http://www.gnu.org/prep/standards/html_node/Errors.html#Errors - sys.stderr.write("metaweblog.py:line872: Wrong arguments\n") + sys.stderr.write("metaweblog.py:865-871: Wrong arguments\n") @xmlrpc_func(returns="struct", args=["string", "string"]) def show_id(module=None, instance=None): @@ -893,7 +892,7 @@ def show_id(module=None, instance=None): return gstres, objres else: - sys.stderr.write("metaweblog.py:line870: Wrong arguments\n") + sys.stderr.write("metaweblog.py:877-892: Wrong arguments\n") @xmlrpc_func(returns="struct", args=["string", "string", "string"]) def show_instance(module=None, instance=None, id=None): @@ -934,8 +933,8 @@ def show_instance(module=None, instance=None, id=None): return res else: - sys.stderr.write("metaweblog.py:line898: Wrong arguments\n") + sys.stderr.write("metaweblog.py:900-933: Wrong arguments\n") except ObjectDoesNotExist: - sys.stderr.write("metaweblog.py:line901: " + + sys.stderr.write("metaweblog.py:900-933: " "Object matching query does not exist\n") |