From 583c4b40dbbb17696b33e6d21ed531a32730d818 Mon Sep 17 00:00:00 2001 From: richard Date: Tue, 24 Sep 2002 01:36:04 +0000 Subject: [PATCH] make import set the id counter to maxid+1 git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1218 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/admin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roundup/admin.py b/roundup/admin.py index a73c086..ff961b7 100644 --- a/roundup/admin.py +++ b/roundup/admin.py @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: admin.py,v 1.31 2002-09-18 05:07:47 richard Exp $ +# $Id: admin.py,v 1.32 2002-09-24 01:36:04 richard Exp $ import sys, os, getpass, getopt, re, UserDict, shlex, shutil try: @@ -931,8 +931,8 @@ Command help: # do the import and figure the current highest nodeid maxid = max(maxid, int(cl.import_list(propnames, l))) - print 'setting', classname, maxid - self.db.setid(classname, str(maxid)) + print 'setting', classname, maxid+1 + self.db.setid(classname, str(maxid+1)) return 0 def do_pack(self, args): -- 2.30.2