Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
installsystems
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Show more breadcrumbs
Seblu
installsystems
Commits
fed07d41
Commit
fed07d41
authored
13 years ago
by
Sebastien Luttringer
Browse files
Options
Downloads
Patches
Plain Diff
no progressbar in quiet mode
parent
2d190595
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
installsystems/tools.py
+3
-0
3 additions, 0 deletions
installsystems/tools.py
with
3 additions
and
0 deletions
installsystems/tools.py
+
3
−
0
View file @
fed07d41
...
...
@@ -15,6 +15,7 @@ import time
from
subprocess
import
call
,
check_call
,
CalledProcessError
import
installsystems
from
installsystems.progressbar
import
ProgressBar
,
Percentage
,
FileTransferSpeed
from
installsystems.progressbar
import
Bar
,
BouncingBar
,
ETA
,
UnknownLength
from
installsystems.tarball
import
Tarball
...
...
@@ -216,6 +217,8 @@ class PipeFile(object):
'''
Set this property to true enable progress bar
'''
if
installsystems
.
quiet
is
True
:
return
if
val
==
True
and
not
hasattr
(
self
,
"
_progressbar_started
"
):
self
.
_progressbar_started
=
True
self
.
_progressbar
.
start
()
...
...
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