|
16 | 16 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
17 | 17 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
18 | 18 | # |
19 | | -# $Id: roundup-admin,v 1.25 2001-10-10 04:12:32 richard Exp $ |
| 19 | +# $Id: roundup-admin,v 1.26 2001-10-11 05:03:51 richard Exp $ |
20 | 20 |
|
21 | 21 | import sys |
22 | 22 | if int(sys.version[0]) < 2: |
@@ -340,6 +340,7 @@ def do_retire(db, args): |
340 | 340 |
|
341 | 341 | def do_export(db, args): |
342 | 342 | '''Usage: export class[,class] destination_dir |
| 343 | + ** EXPERIMENTAL ** |
343 | 344 | Export the database to CSV files by class in the given directory. |
344 | 345 |
|
345 | 346 | This action exports the current data from the database into |
@@ -381,6 +382,7 @@ def do_export(db, args): |
381 | 382 |
|
382 | 383 | def do_import(db, args): |
383 | 384 | '''Usage: import class file |
| 385 | + ** EXPERIMENTAL ** |
384 | 386 | Import the contents of the CSV file as new nodes for the given class. |
385 | 387 |
|
386 | 388 | The file must define the same properties as the class (including having |
@@ -565,6 +567,9 @@ if __name__ == '__main__': |
565 | 567 |
|
566 | 568 | # |
567 | 569 | # $Log: not supported by cvs2svn $ |
| 570 | +# Revision 1.25 2001/10/10 04:12:32 richard |
| 571 | +# The setup.cfg file is just causing pain. Away it goes. |
| 572 | +# |
568 | 573 | # Revision 1.24 2001/10/10 03:54:57 richard |
569 | 574 | # Added database importing and exporting through CSV files. |
570 | 575 | # Uses the csv module from object-craft for exporting if it's available. |
|
0 commit comments