Parent Directory | Revision Log | Patch
revision 1.9 by TuringTest, Fri Sep 5 21:26:01 2003 UTC | revision 1.10 by amoyav, Mon Sep 22 19:08:38 2003 UTC | |
---|---|---|
# | Line 208 class FechaHoraMine(object): | Line 208 class FechaHoraMine(object): |
208 | ||
209 | Devuelve -1, 0 o 1 si la segunda fecha es menor, igual o mayor que esta. | Devuelve -1, 0 o 1 si la segunda fecha es menor, igual o mayor que esta. |
210 | """ | """ |
211 | if otra == None: | |
212 | return -1 | |
213 | if self.__segundos_totales < otra.__segundos_totales: | if self.__segundos_totales < otra.__segundos_totales: |
214 | return -1 | return -1 |
215 | elif self.__segundos_totales > otra.__segundos_totales: | elif self.__segundos_totales > otra.__segundos_totales: |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |