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
0f0734a9
Commit
0f0734a9
authored
13 years ago
by
Sebastien Luttringer
Browse files
Options
Downloads
Patches
Plain Diff
Doesn't display warning when we are not in debug mode
parent
a7fbf0de
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/is
+5
-0
5 additions, 0 deletions
bin/is
with
5 additions
and
0 deletions
bin/is
+
5
−
0
View file @
0f0734a9
...
...
@@ -12,6 +12,7 @@ import time
import
datetime
import
re
import
fnmatch
import
warnings
import
installsystems
import
installsystems.tools
as
istools
import
installsystems.argparse
as
argparse
# to be removed when python2.7
...
...
@@ -469,6 +470,10 @@ try:
# set debug and quiet mode after merge
installsystems
.
debug
=
args
.
debug
installsystems
.
quiet
=
args
.
quiet
# no warning if we are not in debug mode
if
not
installsystems
.
debug
:
warnings
.
filterwarnings
(
"
ignore
"
)
# except for install command we parse all args!
if
args
.
func
is
not
c_install
:
args
=
p_main
.
parse_args
(
namespace
=
args
)
# let's go
...
...
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