diff options
-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) |