From 7a73aa10276b0c1151500d26b194336b56af7aba Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 6 May 2017 11:33:10 -0400 Subject: cleaning --- src/sdp/source_sisupod.d | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/sdp/source_sisupod.d') diff --git a/src/sdp/source_sisupod.d b/src/sdp/source_sisupod.d index 8718074..e5233ba 100644 --- a/src/sdp/source_sisupod.d +++ b/src/sdp/source_sisupod.d @@ -71,7 +71,7 @@ template SiSUpod() { doc_matters.source_filename, )); } - auto zip = new ZipArchive(); // ZipArchive zip = new ZipArchive(); + auto zip = new ZipArchive(); auto fn_sisupod = pth_sisupod.sisupod_filename(doc_matters.source_filename); { /+ bundle images +/ foreach (image; doc_matters.image_list) { @@ -184,8 +184,7 @@ template SiSUpod() { auto zipped = new ZipArchive((fn_sisupod).read); foreach (filename, member; zipped.directory) { auto data = zipped.expand(member); - writeln("> ", filename, " length ", data.length); // filename == member.name - // Use data + writeln("> ", filename, " length ", data.length); } } catch (ZipException ex) { @@ -213,8 +212,7 @@ template SiSUpod() { } } } - catch (ErrnoException ex) - { + catch (ErrnoException ex) { // Handle errors } } -- cgit v1.2.3