Exemple #1
0
 def suffix(self, tupledate):
     if len(tupledate) < 3:  # just in case
         return DailyLogFile.suffix(self, tupledate)
     return "{:04d}_{:02d}_{:02d}".format(*tupledate[:3])
Exemple #2
0
 def suffix(self, tupledate):
     if len(tupledate) < 3:  # just in case
         return DailyLogFile.suffix(self, tupledate)
     return "{:04d}_{:02d}_{:02d}".format(*tupledate[:3])