out_file.write(struct.pack('<L', data_len))
-def get_manifest(base_url, dest_dir=tempfile.gettempdir(),
- manifest_file='Manifest'):
+def get_manifest(base_url, dest_dir=tempfile.gettempdir()):
"""Returns the manifest and the new URL if this is changed"""
if os.path.exists(dest_dir) == False:
response = urllib2.urlopen(manifest_url)
data = response.read()
- manifest_path = os.path.join(dest_dir, manifest_file)
+ manifest_path = os.path.join(dest_dir, 'Manifest')
f = open(manifest_path, "w")
f.write(data)
f.close()