TreeExporter contains an instance variable, self.tar_file_name, that is never
used, and only set once in ExportAllBindTrees. It is not actually used in
writing any tar files to disk, because config_lib handles that in the
TarDnsTree method. By the time TarDnsTree is run, the timestamp on
TreeExporter's self.tar_file_name can be a second (or more) behind.
I suggest we remove TreeExporter's self.tar_file_name altogether. Any and all
references to it should be changed to a call to
config_lib.FindNewestDnsTreeFilename() which will return the correct value of
the file written to disk.
Original issue reported on code.google.com by J.S.Pavlick@gmail.com on 7 May 2013 at 2:54
Original issue reported on code.google.com by
J.S.Pavlick@gmail.com
on 7 May 2013 at 2:54