Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linuxbin
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aerospace and Mechanical Engineering
linuxbin
Commits
f2b520b3
Commit
f2b520b3
authored
10 months ago
by
Papeleux Luc
Browse files
Options
Downloads
Patches
Plain Diff
remove ref to .svn in unzip command
parent
226757a4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
comp.py
+3
-3
3 additions, 3 deletions
comp.py
with
3 additions
and
3 deletions
comp.py
+
3
−
3
View file @
f2b520b3
...
...
@@ -175,12 +175,12 @@ class CompJob(ParametricJob):
ext
=
os
.
path
.
splitext
(
file
)[
1
]
if
ext
==
"
.zip
"
:
# unzip the source and try to convert text files
cmd
=
'
unzip -a %s -x
"
*/.
svn
/*
"
>/dev/null
'
%
file
cmd
=
'
unzip -a %s -x
"
*/.
git
/*
"
>/dev/null
'
%
file
sysOutput
=
os
.
system
(
cmd
)
if
(
sysOutput
!=
0
):
self
.
error
(
"
unable to unzip archive %s !
"
%
file
)
# no conversion for ".
svn
" database
cmd
=
'
unzip %s
"
*/.
svn
/*
"
>/dev/null
'
%
file
# no conversion for ".
git
" database
cmd
=
'
unzip %s
"
*/.
git
/*
"
>/dev/null
'
%
file
sysOutput
=
os
.
system
(
cmd
)
if
(
sysOutput
!=
0
):
self
.
error
(
"
unable to unzip archive %s !
"
%
file
)
...
...
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