Skip to content

Commit

Permalink
All parameters are required for create_marker, so make it so.
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <clalance@redhat.com>
  • Loading branch information
Chris Lalancette authored and imcleod committed Jun 29, 2011
1 parent 6c56acb commit aa054a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VMDKstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def create_sparse_header(inFileSectors, descriptorSize,
header_struct = "=IIIQQQQIQQQBccccH433B"
return struct.pack(header_struct, *header_list)

def create_marker(numSectors = None, size = None, marker_type = None):
def create_marker(numSectors, size, marker_type):
marker_list = [ numSectors, size, marker_type ]
for i in range(496):
marker_list.append(0)
Expand Down

0 comments on commit aa054a3

Please sign in to comment.