diff options
author | gnowgi <nagarjun@gnowledge.org> | 2012-12-19 07:49:01 -0800 |
---|---|---|
committer | gnowgi <nagarjun@gnowledge.org> | 2012-12-19 07:49:01 -0800 |
commit | 09ceb4b84ef4b56db42d24ba60e4c58bb9e0a951 (patch) | |
tree | e78056bee2300fab25cf675ccd989e46e103497a /gstudio/models.py | |
parent | 3ba6b57c6d605262ef9e1f7bba8d62ea20aacc36 (diff) | |
parent | fb6d7b562bf6e2fad92a49061489af1abb92f2f6 (diff) | |
download | gnowsys-master.tar.gz |
this commit, includes several unlisted features.
Diffstat (limited to 'gstudio/models.py')
-rw-r--r-- | gstudio/models.py | 2 |
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)}) |