File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 2222 (roundup.cgi) to have the errors appear in your browser
2323- fix setgid typo (sf bug 1171346)
2424- fix faulty find_template filename facility (sf bug 1163629)
25+ - fix roundup-admin "export" so it creates the target dir if needed
2526
2627
27282005-03-03 0.8.2
Original file line number Diff line number Diff line change 1616# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818#
19- # $Id: admin.py,v 1.85.2.3 2005-02-28 03:13:42 richard Exp $
19+ # $Id: admin.py,v 1.85.2.4 2005-04-13 06:57:09 richard Exp $
2020
2121'''Administration commands for maintaining Roundup trackers.
2222'''
@@ -1050,6 +1050,10 @@ def do_export(self, args):
10501050 class colon_separated (csv .excel ):
10511051 delimiter = ':'
10521052
1053+ # make sure target dir exists
1054+ if not os .path .exists (dir ):
1055+ os .makedirs (dir )
1056+
10531057 # do all the classes specified
10541058 for classname in classes :
10551059 cl = self .get_class (classname )
You can’t perform that action at this time.
0 commit comments