Commit af94c66b authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

removed one more "redundant" -1 arg to file.read().


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac284@2534 e5f2f494-b856-4b98-b285-d166d9295462
parent 9cf201a5
......@@ -48,7 +48,7 @@ def module_spec_from_file(spec_file, check = True):
module_spec = json.loads(json_str)
elif type(spec_file) == str:
file = open(spec_file)
json_str = file.read(-1)
json_str = file.read()
module_spec = json.loads(json_str)
file.close()
else:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment