Skip to content

Commit

Permalink
Fixed bug in iteration over objects.
Browse files Browse the repository at this point in the history
  • Loading branch information
vsmalladi committed Oct 9, 2013
1 parent 86d3366 commit 37a9126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def filter_object(json_object,key):

patch_objects = read_objects(args.json_file)

for i in range(0,len(patch_objects)-1):
for i in range(0,len(patch_objects)):
object_id = patch_objects[i]['@id']
patch_object = filter_object(patch_objects[i], '@id')
url = (settings.get('SERVER') + '/' + str(object_id))
Expand Down

0 comments on commit 37a9126

Please sign in to comment.