Mercurial > p > roundup > code
changeset 280:80ad2bf9cf7b
The setup.cfg file is just causing pain. Away it goes.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 10 Oct 2001 04:12:32 +0000 |
| parents | 231a031e4765 |
| children | d38ca22f7a2f |
| files | roundup-admin setup.cfg |
| diffstat | 2 files changed, 10 insertions(+), 42 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup-admin Wed Oct 10 03:58:40 2001 +0000 +++ b/roundup-admin Wed Oct 10 04:12:32 2001 +0000 @@ -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 @@ 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 @@ # # $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. #
--- a/setup.cfg Wed Oct 10 03:58:40 2001 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -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. -# -#
