Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gridtk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
software
gridtk
Merge requests
!14
Add an option to make the aggregate output unique
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add an option to make the aggregate output unique
unique
into
master
Overview
3
Commits
2
Pipelines
2
Changes
1
Merged
Amir MOHAMMADI
requested to merge
unique
into
master
7 years ago
Overview
3
Commits
2
Pipelines
2
Changes
1
Expand
0
0
Merge request reports
Viewing commit
9c107f73
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
9c107f73
keep the whitespace
· 9c107f73
Amir MOHAMMADI
authored
7 years ago
gridtk/script/jgen.py
+
1
−
1
Options
@@ -135,7 +135,7 @@ def main(command_line_options = None):
unique_lines
=
[]
for
line
in
data
.
split
(
'
\n
'
):
if
not
line
.
strip
():
f
.
write
(
'
\n
'
)
f
.
write
(
line
+
'
\n
'
)
elif
line
.
strip
()[
0
]
==
'
#
'
:
f
.
write
(
line
+
'
\n
'
)
elif
line
not
in
unique_lines
:
Loading