From 2ecabd65ffa4a4986a438844306292371a4e869b Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 10 Oct 2001 04:12:32 +0000 Subject: [PATCH] The setup.cfg file is just causing pain. Away it goes. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@288 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup-admin | 12 ++++++++++-- setup.cfg | 40 ---------------------------------------- 2 files changed, 10 insertions(+), 42 deletions(-) delete mode 100644 setup.cfg diff --git a/roundup-admin b/roundup-admin index bf8588d..42ec532 100755 --- a/roundup-admin +++ b/roundup-admin @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: roundup-admin,v 1.24 2001-10-10 03:54:57 richard Exp $ +# $Id: roundup-admin,v 1.25 2001-10-10 04:12:32 richard Exp $ import sys if int(sys.version[0]) < 2: @@ -384,7 +384,10 @@ def do_import(db, args): Import the contents of the CSV file as new nodes for the given class. The file must define the same properties as the class (including having - a "header" line with those property names.) + a "header" line with those property names.) The new nodes are added to + the existing database - if you want to create a new database using the + imported data, then create a new database (or, tediously, retire all + the old data.) ''' if len(args) < 2: print do_export.__doc__ @@ -562,6 +565,11 @@ if __name__ == '__main__': # # $Log: not supported by cvs2svn $ +# Revision 1.24 2001/10/10 03:54:57 richard +# Added database importing and exporting through CSV files. +# Uses the csv module from object-craft for exporting if it's available. +# Requires the csv module for importing. +# # Revision 1.23 2001/10/09 23:36:25 richard # Spit out command help if roundup-admin command doesn't get an argument. # diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 6faf75d..0000000 --- a/setup.cfg +++ /dev/null @@ -1,40 +0,0 @@ -# -# Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/) -# This module is free software, and you may redistribute it and/or modify -# under the same terms as Python, so long as this copyright message and -# disclaimer are retained in their original form. -# -# IN NO EVENT SHALL BIZAR SOFTWARE PTY LTD BE LIABLE TO ANY PARTY FOR -# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING -# OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# -# BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, -# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -# FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" -# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, -# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. -# -# $Id: setup.cfg,v 1.5 2001-10-08 23:36:44 richard Exp $ - -[install-scripts] -install_dir=/usr/local/bin - - -# -# $Log: not supported by cvs2svn $ -# Revision 1.4 2001/08/07 00:24:42 richard -# stupid typo -# -# Revision 1.3 2001/08/07 00:15:51 richard -# Added the copyright/license notice to (nearly) all files at request of -# Bizar Software. -# -# Revision 1.2 2001/07/27 07:20:17 richard -# Makefile is now obsolete - setup does what it used to do. -# -# Revision 1.1 2001/07/27 06:56:25 richard -# Added scripts to the setup and added the config so the default script -# install dir is /usr/local/bin. -# -# -- 2.30.2