aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/source_sisupod.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-05-06 11:33:10 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit7a73aa10276b0c1151500d26b194336b56af7aba (patch)
treee267901f73375393cc429c5c17ce661216de111a /src/sdp/source_sisupod.d
parentxmls work particularly with epub output (diff)
Diffstat (limited to 'src/sdp/source_sisupod.d')
-rw-r--r--src/sdp/source_sisupod.d8
1 files changed, 3 insertions, 5 deletions
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
}
}