Skip to content

Commit 60688bd

Browse files
author
Richard Jones
committed
The setup.cfg file is just causing pain. Away it goes.
1 parent 2b834ba commit 60688bd

File tree

2 files changed

+10
-42
lines changed

2 files changed

+10
-42
lines changed

roundup-admin

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818
#
19-
# $Id: roundup-admin,v 1.24 2001-10-10 03:54:57 richard Exp $
19+
# $Id: roundup-admin,v 1.25 2001-10-10 04:12:32 richard Exp $
2020

2121
import sys
2222
if int(sys.version[0]) < 2:
@@ -384,7 +384,10 @@ def do_import(db, args):
384384
Import the contents of the CSV file as new nodes for the given class.
385385
386386
The file must define the same properties as the class (including having
387-
a "header" line with those property names.)
387+
a "header" line with those property names.) The new nodes are added to
388+
the existing database - if you want to create a new database using the
389+
imported data, then create a new database (or, tediously, retire all
390+
the old data.)
388391
'''
389392
if len(args) < 2:
390393
print do_export.__doc__
@@ -562,6 +565,11 @@ if __name__ == '__main__':
562565

563566
#
564567
# $Log: not supported by cvs2svn $
568+
# Revision 1.24 2001/10/10 03:54:57 richard
569+
# Added database importing and exporting through CSV files.
570+
# Uses the csv module from object-craft for exporting if it's available.
571+
# Requires the csv module for importing.
572+
#
565573
# Revision 1.23 2001/10/09 23:36:25 richard
566574
# Spit out command help if roundup-admin command doesn't get an argument.
567575
#

setup.cfg

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)