Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
1d2b2e12
Commit
1d2b2e12
authored
May 23, 2003
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Donation to the Society for the Promotion of Whitespace and Indentation.
parent
90aabf3b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
9 deletions
+15
-9
src/Persistence/cPersistence.c
src/Persistence/cPersistence.c
+5
-3
src/ZODB/cPersistence.c
src/ZODB/cPersistence.c
+5
-3
src/persistent/cPersistence.c
src/persistent/cPersistence.c
+5
-3
No files found.
src/Persistence/cPersistence.c
View file @
1d2b2e12
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
static
char
cPersistence_doc_string
[]
=
static
char
cPersistence_doc_string
[]
=
"Defines Persistent mixin class for persistent objects.
\n
"
"Defines Persistent mixin class for persistent objects.
\n
"
"
\n
"
"
\n
"
"$Id: cPersistence.c,v 1.7
0 2003/05/13 22:58:37
jeremy Exp $
\n
"
;
"$Id: cPersistence.c,v 1.7
1 2003/05/23 21:32:38
jeremy Exp $
\n
"
;
#include "cPersistence.h"
#include "cPersistence.h"
...
@@ -671,8 +671,10 @@ _setattro(cPersistentObject *self, PyObject *oname, PyObject *v,
...
@@ -671,8 +671,10 @@ _setattro(cPersistentObject *self, PyObject *oname, PyObject *v,
Py_DECREF
(
meth
);
Py_DECREF
(
meth
);
return
0
;
return
0
;
}
}
if
(
PyObject_IsTrue
(
v
))
return
changed
(
self
);
if
(
PyObject_IsTrue
(
v
))
if
(
self
->
state
>=
0
)
self
->
state
=
cPersistent_UPTODATE_STATE
;
return
changed
(
self
);
if
(
self
->
state
>=
0
)
self
->
state
=
cPersistent_UPTODATE_STATE
;
return
0
;
return
0
;
}
}
}
}
...
...
src/ZODB/cPersistence.c
View file @
1d2b2e12
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
static
char
cPersistence_doc_string
[]
=
static
char
cPersistence_doc_string
[]
=
"Defines Persistent mixin class for persistent objects.
\n
"
"Defines Persistent mixin class for persistent objects.
\n
"
"
\n
"
"
\n
"
"$Id: cPersistence.c,v 1.7
0 2003/05/13 22:58:37
jeremy Exp $
\n
"
;
"$Id: cPersistence.c,v 1.7
1 2003/05/23 21:32:38
jeremy Exp $
\n
"
;
#include "cPersistence.h"
#include "cPersistence.h"
...
@@ -671,8 +671,10 @@ _setattro(cPersistentObject *self, PyObject *oname, PyObject *v,
...
@@ -671,8 +671,10 @@ _setattro(cPersistentObject *self, PyObject *oname, PyObject *v,
Py_DECREF
(
meth
);
Py_DECREF
(
meth
);
return
0
;
return
0
;
}
}
if
(
PyObject_IsTrue
(
v
))
return
changed
(
self
);
if
(
PyObject_IsTrue
(
v
))
if
(
self
->
state
>=
0
)
self
->
state
=
cPersistent_UPTODATE_STATE
;
return
changed
(
self
);
if
(
self
->
state
>=
0
)
self
->
state
=
cPersistent_UPTODATE_STATE
;
return
0
;
return
0
;
}
}
}
}
...
...
src/persistent/cPersistence.c
View file @
1d2b2e12
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
static
char
cPersistence_doc_string
[]
=
static
char
cPersistence_doc_string
[]
=
"Defines Persistent mixin class for persistent objects.
\n
"
"Defines Persistent mixin class for persistent objects.
\n
"
"
\n
"
"
\n
"
"$Id: cPersistence.c,v 1.7
0 2003/05/13 22:58:37
jeremy Exp $
\n
"
;
"$Id: cPersistence.c,v 1.7
1 2003/05/23 21:32:38
jeremy Exp $
\n
"
;
#include "cPersistence.h"
#include "cPersistence.h"
...
@@ -671,8 +671,10 @@ _setattro(cPersistentObject *self, PyObject *oname, PyObject *v,
...
@@ -671,8 +671,10 @@ _setattro(cPersistentObject *self, PyObject *oname, PyObject *v,
Py_DECREF
(
meth
);
Py_DECREF
(
meth
);
return
0
;
return
0
;
}
}
if
(
PyObject_IsTrue
(
v
))
return
changed
(
self
);
if
(
PyObject_IsTrue
(
v
))
if
(
self
->
state
>=
0
)
self
->
state
=
cPersistent_UPTODATE_STATE
;
return
changed
(
self
);
if
(
self
->
state
>=
0
)
self
->
state
=
cPersistent_UPTODATE_STATE
;
return
0
;
return
0
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment