summaryrefslogtreecommitdiff
path: root/gstudio/models.py
diff options
context:
space:
mode:
authorgnowgi <nagarjun@gnowledge.org>2012-12-19 07:49:01 -0800
committergnowgi <nagarjun@gnowledge.org>2012-12-19 07:49:01 -0800
commit09ceb4b84ef4b56db42d24ba60e4c58bb9e0a951 (patch)
treee78056bee2300fab25cf675ccd989e46e103497a /gstudio/models.py
parent3ba6b57c6d605262ef9e1f7bba8d62ea20aacc36 (diff)
parentfb6d7b562bf6e2fad92a49061489af1abb92f2f6 (diff)
downloadgnowsys-master.tar.gz
Merge pull request #86 from anujag/masterHEADmaster
this commit, includes several unlisted features.
Diffstat (limited to 'gstudio/models.py')
-rw-r--r--gstudio/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gstudio/models.py b/gstudio/models.py
index cd529c4..98ff1be 100644
--- a/gstudio/models.py
+++ b/gstudio/models.py
@@ -952,7 +952,7 @@ class Nodetype(Node):
g_json["relations"].append({"from":self.id ,"type":str(key),"value":1,"to":predicate_id[key] })
- if not isinstance(nbh[key],basestring) and len(nbh[key])<=2:
+ if not isinstance(nbh[key],basestring) and len(nbh[key])<=10:
for item in nbh[key]:
if isinstance(item,unicode):
g_json["node_metadata"].append({"_id":(str(attr_counter)+"b"),"screen_name":str(item)})