Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
apa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anders Blomdell
apa
Commits
7ea14447
Commit
7ea14447
authored
11 years ago
by
Anders Blomdell
Browse files
Options
Downloads
Patches
Plain Diff
Only archive sourcefile once
parent
7f5fa3fd
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
apa
+5
-0
5 additions, 0 deletions
apa
with
5 additions
and
0 deletions
apa
100644 → 100755
+
5
−
0
View file @
7ea14447
...
@@ -69,6 +69,7 @@ if __name__ == '__main__':
...
@@ -69,6 +69,7 @@ if __name__ == '__main__':
# Read all python files
# Read all python files
code
=
[]
code
=
[]
processed
=
set
()
for
filename
in
args
:
for
filename
in
args
:
archivename
=
filename
archivename
=
filename
for
strip
in
options
.
strip
:
for
strip
in
options
.
strip
:
...
@@ -77,6 +78,10 @@ if __name__ == '__main__':
...
@@ -77,6 +78,10 @@ if __name__ == '__main__':
archivename
=
m
.
group
(
1
)
archivename
=
m
.
group
(
1
)
break
break
if
archivename
in
processed
:
continue
processed
.
add
(
archivename
)
name
=
getModuleName
(
archivename
)
name
=
getModuleName
(
archivename
)
if
name
:
if
name
:
f
=
open
(
filename
)
f
=
open
(
filename
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment