diff options
author | amita singh <amitacr@gmail.com> | 2012-05-30 17:09:57 +0530 |
---|---|---|
committer | amita singh <amitacr@gmail.com> | 2012-05-30 17:09:57 +0530 |
commit | 79cc4dd9f37a45b40ba62249a14fde7f4b3b09fe (patch) | |
tree | 8bb7f502635c068f799f0a720300a78a1e25bcc3 /gstudio/management | |
parent | 8c570cb3139c67c87ba5a383ccc8b834c3eba4ef (diff) | |
download | gnowsys-79cc4dd9f37a45b40ba62249a14fde7f4b3b09fe.tar.gz |
It displays the rdf of all the objects.
Diffstat (limited to 'gstudio/management')
-rw-r--r-- | gstudio/management/commands/generate_all_rdf.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gstudio/management/commands/generate_all_rdf.py b/gstudio/management/commands/generate_all_rdf.py index d00a8a6..bc57286 100644 --- a/gstudio/management/commands/generate_all_rdf.py +++ b/gstudio/management/commands/generate_all_rdf.py @@ -54,22 +54,22 @@ def rdf_description(name,notation='xml' ): - if (node_type=='Gbobject'): + if (node_type=='Gbobject' ): node=Gbobject.objects.get(title=name) rdflib=link(node) - if (node_type=='None'): + elif (node_type=='None'): node=Gbobject.objects.get(title=name) rdflib=link(node) - if (node_type=='Processes'): + elif (node_type=='Processes'): node=Gbobject.objects.get(title=name) rdflib=link(node) - if (node_type=='System'): + elif (node_type=='System'): node=Gbobject.objects.get(title=name) rdflib=link(node) - if (node_type=='Objecttype'): + elif (node_type=='Objecttype'): node=Objecttype.objects.get(title=name) rdflib=link(node) |