diff roundup/backends/back_bsddb.py @ 1800:a3b1b1dcf639

Use getuid(), not figure_curuserid() - Extended getuid() to replace figure_curuserid(). - Replace all references to curuserid with calls to getuid(). - Changed the docs to point to always point to getuid() and mention the change in upgrading.txt.
author Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
date Mon, 08 Sep 2003 20:39:18 +0000
parents 8a908bbad1ef
children f9316d2cd5ba
line wrap: on
line diff
--- a/roundup/backends/back_bsddb.py	Mon Sep 08 09:28:28 2003 +0000
+++ b/roundup/backends/back_bsddb.py	Mon Sep 08 20:39:18 2003 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-#$Id: back_bsddb.py,v 1.26 2003-05-09 01:47:50 richard Exp $
+#$Id: back_bsddb.py,v 1.27 2003-09-08 20:39:18 jlgijsbers Exp $
 '''
 This module defines a backend that saves the hyperdatabase in BSDDB.
 '''
@@ -93,7 +93,7 @@
                 cache_creator, cache_creation) = args
             if cache_classname == classname and cache_nodeid == nodeid:
                 if not cache_creator:
-                    cache_creator = self.curuserid
+                    cache_creator = self.getuid()
                 if not cache_creation:
                     cache_creation = date.Date()
                 res.append((cache_nodeid, cache_creation, cache_creator,

Roundup Issue Tracker: http://roundup-tracker.org/