Python 3 fix.
authorCarl Hetherington <cth@carlh.net>
Tue, 1 Feb 2022 10:10:14 +0000 (11:10 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 1 Feb 2022 10:10:14 +0000 (11:10 +0100)
hacks/make_dummy_files

index b2950dd01818e8c6d969a805c557e331d54ebfe0..a55127866ebd52c1f7c9160ef6036d8949c5668b 100755 (executable)
@@ -56,7 +56,7 @@ for c in root.find('Playlist').findall('Content'):
             assets[a.find('am:Id', ns).text[9:]] = a.find('am:ChunkList', ns).find('am:Chunk', ns).find('am:Path', ns).text
 
         cpl_id = None
-        for k, v in assets.iteritems():
+        for k, v in assets.items():
             try:
                 e = ET.parse(os.path.join(dir, v))
                 if e.getroot().tag == '{http://www.digicine.com/PROTO-ASDCP-CPL-20040511#}CompositionPlaylist':