File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939git checkout --quiet -B " $PAGES_BRANCH " " $GITHUB_BRANCH " --no-track
4040
4141# update bundled information for public consumption
42- # python3 ../bundle.py --out-dir ../course-data --format json --format xml --format csv
43- python3 ../bundle.py --out-dir ../course-data --format json --format xml
42+ python3 ../bundle.py --out-dir ../course-data --format json --format xml --format csv
4443python3 ../bundle.py --legacy --out-dir ../course-data/legacy --format json
4544
4645# remove the source files (quietly)
Original file line number Diff line number Diff line change 3030git checkout -B gh-pages master --no-track
3131
3232# update bundled information for public consumption
33- # python3 ../bundle.py --out-dir ../course-data --format json --format xml --format csv
34- python3 ../bundle.py --out-dir ../course-data --format json --format xml
33+ python3 ../bundle.py --out-dir ../course-data --format json --format xml --format csv
3534python3 ../bundle.py --legacy --out-dir ../course-data/legacy --format json
3635
3736# remove the source files (quietly)
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ def csvify(data):
1212 item .pop ('revisions' )
1313 for key in item :
1414 if type (item [key ]) is list :
15- item [key ] = ';' .join (item [key ])
15+ item [key ] = ';' .join (str ( x ) if not isinstance ( x , str ) else x for x in item [key ])
1616 if type (item [key ]) is str :
1717 item [key ] = item [key ].replace ('\n ' , '\\ n' )
1818 with io .StringIO () as outfile :
You can’t perform that action at this time.
0 commit comments