Skip to content
Snippets Groups Projects
Commit 8a9a7f57 authored by kazix's avatar kazix
Browse files

cosmetic structure of csv file

parent 1588ddc6
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,7 @@ with open("gitlab-projects.html", "w", encoding='utf8') as outfile: ...@@ -142,7 +142,7 @@ with open("gitlab-projects.html", "w", encoding='utf8') as outfile:
with open('gitlab-projects.csv', 'w', encoding='UTF8', newline='') as f: with open('gitlab-projects.csv', 'w', encoding='UTF8', newline='') as f:
writer = csv.writer(f, dialect='excel', delimiter=';') writer = csv.writer(f, dialect='excel', delimiter=';')
csv_headers = ['Project ID', 'Project Full Name', 'Group', 'Status', 'LICENSE', 'Last activity', 'Owners'] csv_headers = ['Project ID', 'Project Full Name', 'Status', 'Group', 'License file', 'Last activity', 'Owners']
writer.writerow(csv_headers) writer.writerow(csv_headers)
writer.writerows(c_project) writer.writerows(c_project)
print("save csv file...") print("save csv file...")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment