Title: [commits] (vajda) [11286] - moved version initialization of view to openView()
Revision
11286
Author
vajda
Date
2006-07-31 11:46:36 -0700 (Mon, 31 Jul 2006)

Log Message

- moved version initialization of view to openView()
- version 0.6-35

Modified Paths

Diff

Modified: trunk/internal/chandlerdb/Makefile (11285 => 11286)

--- trunk/internal/chandlerdb/Makefile	2006-07-31 18:39:55 UTC (rev 11285)
+++ trunk/internal/chandlerdb/Makefile	2006-07-31 18:46:36 UTC (rev 11286)
@@ -1,5 +1,5 @@
 
-RELVER=0.6-$(BRANCH_REV_PREFIX)34
+RELVER=0.6-$(BRANCH_REV_PREFIX)35
 CHANDLERDB=$(INTERNAL)/chandlerdb
 DB_VER=4.4
 SRC=""

Modified: trunk/internal/chandlerdb/chandlerdb/persistence/view.c (11285 => 11286)

--- trunk/internal/chandlerdb/chandlerdb/persistence/view.c	2006-07-31 18:39:55 UTC (rev 11285)
+++ trunk/internal/chandlerdb/chandlerdb/persistence/view.c	2006-07-31 18:46:36 UTC (rev 11286)
@@ -253,8 +253,7 @@
 {
     PyObject *repository, *name, *uuid;
 
-    if (!PyArg_ParseTuple(args, "OOLO", &repository, &name, &self->version,
-                          &uuid))
+    if (!PyArg_ParseTuple(args, "OOO", &repository, &name, &uuid))
         return -1;
 
     if (PyObject_TypeCheck(repository, CRepository))
@@ -267,6 +266,7 @@
         return -1;
     }
 
+    self->version = (long long) 0;
     Py_INCREF(name); self->name = name;
     Py_INCREF(repository); self->repository = repository;
     Py_INCREF(Py_None); self->changeNotifications = Py_None;




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to