On Friday 26 of October 2012 11:44:42 Michael Calmer wrote: > Hi, > > Am Mittwoch, 24. Oktober 2012, 12:57:47 schrieb Michael Mraka: > > Michael Calmer wrote: > > % Hi, > > [...] > > > % I see two possible fixes: > > % > > % 1) return "new Date(0)" instead of an empty string (01/01/1970) > > % > > % 2) break the API and declare "yumrepo_last_sync" as optional and do not > > return % this key in case the repo was not synced yet. > > % > > % Which fix would you prefer? Are there other possible fixes? > > > > Hi Michael, > > > > the second option is the preferred one. > > Ok, patch is attached.
Michael, I committed your patch as: eecc0b2a944c2f056e68e558466acdd930e0f997 Thank you! -- Tomas Lestach RHN Satellite Engineering _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel