(self, vzic_path)
Use vzic to create ICS versions of the data.
Use vzic to create ICS versions of the data.
Use vzic to create ICS versions of the data .
def run_vzic(self, vzic_path):
        """Use vzic to create ICS versions of the data."""

        # Use `vzic` to create 'pure' and 'non-pure' zone files.
        sys.stderr.write("Exporting zone info to %s\n" % self.zoneinfo_path)
        subprocess.check_call([
            vzic_path,
            "--olson-dir", self.tzdata_path,
            "--output-dir", self.zoneinfo_path
        ], stdout=sys.stderr)

        sys.stderr.write("Exporting pure zone info to %s\n" % self.zoneinfo_pure_path)
        subprocess.check_call([
            vzic_path,
            "--olson-dir", self.tzdata_path,
            "--output-dir", self.zoneinfo_pure_path,
            "--pure"
        ], stdout=sys.stderr)
def run_vzic ( self , vzic_path ) : # Use `vzic` to create 'pure' and 'non-pure' zone files. sys . stderr . write ( "Exporting zone info to %s\n" % self . zoneinfo_path ) subprocess . check_call ( [ vzic_path , "--olson-dir" , self . tzdata_path , "--output-dir" , self . zoneinfo_path ] , stdout = sys . stderr ) sys . stderr . write ( "Exporting pure zone info to %s\n" % self . zoneinfo_pure_path ) subprocess . check_call ( [ vzic_path , "--olson-dir" , self . tzdata_path , "--output-dir" , self . zoneinfo_pure_path , "--pure" ] , stdout = sys . stderr )