Mercurial > p > roundup > code
diff roundup/backends/blobfiles.py @ 3935:1dab48842cbd
Throwing up hands in resignation and finally deleting the metakit backend.
It's just too out-of-sync with the rest of Roundup's backends and has
fundamental compatibility issues. Also, I've never really understood
the code.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 26 Oct 2007 06:52:26 +0000 |
| parents | 666b70676ec6 |
| children | bc412bb2ccd3 |
line wrap: on
line diff
--- a/roundup/backends/blobfiles.py Fri Oct 26 01:34:43 2007 +0000 +++ b/roundup/backends/blobfiles.py Fri Oct 26 06:52:26 2007 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -#$Id: blobfiles.py,v 1.22 2007-09-16 06:51:48 jpend Exp $ +#$Id: blobfiles.py,v 1.23 2007-10-26 06:52:26 richard Exp $ '''This module exports file storage for roundup backends. Files are stored into a directory hierarchy. ''' @@ -133,7 +133,7 @@ '''Store the file as part of a transaction commit. ''' # determine the name of the file to write to - name = self.filename(classname, nodeid, property) + name = self.filename(classname, nodeid, property, 1) # the file is currently ".tmp" - move it to its real name to commit if name.endswith('.tmp'):
