Example #1
0
 def _process_output_name(self, option, name):
     base, ext = os.path.splitext(name)
     if self['TimestampOutputs']:
         base = '%s-%s' % (base, utils.get_start_timestamp('', '-', ''))
     ext = self._get_output_extension(ext, option)
     return base + ext
Example #2
0
 def _process_output_name(self, option, name):
     base, ext = os.path.splitext(name)
     if self['TimestampOutputs']:
         base = '%s-%s' % (base, utils.get_start_timestamp('', '-', ''))
     ext = self._get_output_extension(ext, option)
     return base + ext