Signed-off-by: Chris Lalancette <clalance(a)redhat.com>
---
VMDKstream.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/VMDKstream.py b/VMDKstream.py
index 4434d01..6d8cfba 100755
--- a/VMDKstream.py
+++ b/VMDKstream.py
@@ -116,11 +116,10 @@ def create_marker(numSectors, size, marker_type):
marker_struct = "=QII496B"
return struct.pack(marker_struct, *marker_list)
-def create_grain_marker(location = None, size = None):
+def create_grain_marker(location, size):
# The grain marker is special in that the data follows immediately after it
# without a pad
- grain_marker_struct = "=QI"
- return struct.pack(grain_marker_struct, location, size)
+ return struct.pack("=QI", location, size)
def divro(num, den):
# Divide always rounding up and returning an integer
--
1.7.4.4