Mercurial > p > roundup > code
changeset 285:a6e3a9164814 0.3.0-pre2
Marked the roundup-admin import/export as experimental...
...since they're not fully operational.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 11 Oct 2001 05:03:51 +0000 |
| parents | ab74a46c3a9d |
| children | 2313560b8477 |
| files | roundup-admin |
| diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup-admin Thu Oct 11 05:02:37 2001 +0000 +++ b/roundup-admin Thu Oct 11 05:03:51 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.25 2001-10-10 04:12:32 richard Exp $ +# $Id: roundup-admin,v 1.26 2001-10-11 05:03:51 richard Exp $ import sys if int(sys.version[0]) < 2: @@ -340,6 +340,7 @@ def do_export(db, args): '''Usage: export class[,class] destination_dir + ** EXPERIMENTAL ** Export the database to CSV files by class in the given directory. This action exports the current data from the database into @@ -381,6 +382,7 @@ def do_import(db, args): '''Usage: import class file + ** EXPERIMENTAL ** 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 @@ -565,6 +567,9 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.25 2001/10/10 04:12:32 richard +# The setup.cfg file is just causing pain. Away it goes. +# # 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.
