diff options
| author | bryan.culbertson <bryan.culbertson@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2> | 2009-11-18 01:52:24 +0000 |
|---|---|---|
| committer | bryan.culbertson <bryan.culbertson@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2> | 2009-11-18 01:52:24 +0000 |
| commit | c78750cc146b31bd71bcaacedbec4954252aadee (patch) | |
| tree | 91a59e980233ac50fb0b870de60cb178025c3f5e | |
| parent | db512d8c7e2ed1264021f4ab5af0506dc3bc5f8c (diff) | |
pass the name along
git-svn-id: http://freebase-python.googlecode.com/svn/trunk@237 5914aa95-5b3a-0410-a3b5-7b719e7fe9b2
| -rwxr-xr-x | freebase/fcl/mktype.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/freebase/fcl/mktype.py b/freebase/fcl/mktype.py index d144016..1c01c27 100755 --- a/freebase/fcl/mktype.py +++ b/freebase/fcl/mktype.py @@ -44,7 +44,7 @@ def cmd_mkobj(fb, id, typeid='/common/topic', name=''): """ id = fb.absid(id) - return create_object(fb.mss, name="", path=id, + return create_object(fb.mss, name=name, path=id, included_types=typeid, create="unless_exists") def cmd_mktype(fb, id, name=''): |
