Commit c62e607c authored by Jim Fulton's avatar Jim Fulton

Fixed stupid handling of laterThan with no argument.

parent e0c1b0af
......@@ -85,7 +85,7 @@
static char TimeStamp_module_documentation[] =
""
"\n$Id: TimeStamp.c,v 1.1 1999/05/10 23:05:14 jim Exp $"
"\n$Id: TimeStamp.c,v 1.2 1999/05/18 22:22:03 jim Exp $"
;
#include <stdlib.h>
......@@ -309,7 +309,7 @@ TimeStamp_laterThan(TimeStamp *self, PyObject *args)
return OBJECT(self);
}
self=o;
if (o) self=o;
UNLESS(a=PyString_FromStringAndSize(self->data, 8)) return NULL;
s=(unsigned char *)PyString_AsString(a);
......@@ -483,7 +483,7 @@ void
initTimeStamp()
{
PyObject *m, *d;
char *rev="$Revision: 1.1 $";
char *rev="$Revision: 1.2 $";
if (TimeStamp_init_gmoff() < 0) return;
if (! ExtensionClassImported) return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment