def PGPKeyInfoList(self): ret = "" for r in self.alert['expired_or_expiring']: ret += "\t%s, %s (%s)\n" % (r['name'], r['gpg_key_fingerprint'], ISO8601_to_day_str( r['gpg_key_expiration'])) return ret
def PGPKeyInfo(self): if self.receiver['pgp_key_fingerprint']: key = self.receiver['pgp_key_fingerprint'][:7] else: key = "" return "\t0x%s (%s)" % (key, ISO8601_to_day_str(self.receiver['pgp_key_expiration']))
def PGPKeyInfoList(self): ret = "" for r in self.data['users']: fingerprint = r['pgp_key_fingerprint'] key = fingerprint[:7] if fingerprint is not None else "" ret += "\t%s, %s (%s)\n" % ( r['name'], key, ISO8601_to_day_str(r['pgp_key_expiration'])) return ret
def PGPKeyInfoList(self): ret = "" for r in self.alert['expired_or_expiring']: if r['pgp_key_fingerprint']: key = r['pgp_key_fingerprint'][:7] else: key = "" ret += "\t%s, %s (%s)\n" % (r['name'], key, ISO8601_to_day_str(r['pgp_key_expiration'])) return ret
def PGPKeyInfo(self): fingerprint = self.data['user']['pgp_key_fingerprint'] key = fingerprint[:7] if fingerprint is not None else "" return "\t0x%s (%s)" % ( key, ISO8601_to_day_str(self.data['user']['pgp_key_expiration']))
def ExpirationDate(self): # is not time zone dependent, is UTC for everyone return ISO8601_to_day_str(self.data['tip']['expiration_date'], float(self.data['receiver']['timezone']))
def PGPKeyInfo(self): return "\t0x%s (%s)" % (self.receiver['gpg_key_fingerprint'][:7], ISO8601_to_day_str( self.receiver['gpg_key_expiration']))
def ExpirationDate(self): return ISO8601_to_day_str(self.data['expiration_date'])
def ExpirationDate(self): # is not time zone dependent, is UTC for everyone return ISO8601_to_day_str(self.data['expiration_date'])