Lines Matching full:timestamp
85 def TimeToCommonVersion(timestamp): argument
86 """Convert timestamp to common image version."""
87 tdt = datetime.fromtimestamp(float(timestamp))
95 logger.GetLogger().LogFatal('No common version for timestamp')
112 (4) 'lkgm' for the lkgm release before timestamp
114 (6) 'common' for the team common stable version before timestamp
116 parser.add_argument('--timestamp',
117 dest='timestamp',
121 ' before the timestamp. Use in combination with'
150 if not options.timestamp:
151 timestamp = ''
153 timestamp = options.timestamp.strip()
156 logger.GetLogger().LogFatal('timestamp option only applies for '
191 if not timestamp:
193 logger.GetLogger().LogFatal('No timestamp specified for version=lkgm')
195 version = manifests.TimeToVersion(timestamp)
197 logger.GetLogger().LogOutput('found version %s.%s for LKGM at timestamp %s'
198 % (version, manifest, timestamp))
210 if not timestamp:
212 logger.GetLogger().LogFatal('No timestamp specified for version=lkgm')
213 version = TimeToCommonVersion(timestamp)
216 'at timestamp %s' % (version, manifest,
217 timestamp))