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 2727 (roundup.cgi) to have the errors appear in your browser
2828- fix setgid typo (sf bug 1171346)
2929- fix faulty find_template filename facility (sf bug 1163629)
30+ - fix roundup-admin "export" so it creates the target dir if needed
3031
3132
32332005-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.89 2005-02-28 03:14:49 richard Exp $
19+ # $Id: admin.py,v 1.90 2005-04-13 06:55:44 richard Exp $
2020
2121'''Administration commands for maintaining Roundup trackers.
2222'''
@@ -1053,6 +1053,10 @@ def do_export(self, args):
10531053 class colon_separated (csv .excel ):
10541054 delimiter = ':'
10551055
1056+ # make sure target dir exists
1057+ if not os .path .exists (dir ):
1058+ os .makedirs (dir )
1059+
10561060 # do all the classes specified
10571061 for classname in classes :
10581062 cl = self .get_class (classname )
You can’t perform that action at this time.
0 commit comments