diff options
| author | alecflett <alecflett@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2> | 2009-09-21 20:51:30 +0000 |
|---|---|---|
| committer | alecflett <alecflett@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2> | 2009-09-21 20:51:30 +0000 |
| commit | b6b6dbfb28fc158a559d0cef669ac6cda9d97be7 (patch) | |
| tree | 8eb666b7187bd61e6acc7e61d587ca645079ee3c /freebase/fcl/schema.py | |
| parent | 821f14dbdb3d8ff8cb6cd8dd78bb9b8c74836bf1 (diff) | |
fix when required arguments are not specified - at least spit a semi-sane message to the user rather than totally barfing
git-svn-id: http://freebase-python.googlecode.com/svn/trunk@215 5914aa95-5b3a-0410-a3b5-7b719e7fe9b2
Diffstat (limited to 'freebase/fcl/schema.py')
| -rw-r--r-- | freebase/fcl/schema.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/freebase/fcl/schema.py b/freebase/fcl/schema.py index 47eb1fa..e10e72a 100644 --- a/freebase/fcl/schema.py +++ b/freebase/fcl/schema.py @@ -28,7 +28,7 @@ def cmd_dump_type(fb, baseid, follow_types=True): """ print >> sys.stdout, json.dumps(dump_type(fb.mss, typeid, follow_types), indent=2) -def cmd_restore(fb, newlocation, graphfile): +def cmd_restore(fb, newlocation=None, graphfile=None): """restore a graph object to the graph %prog restore newlocation graphfile |
