Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sebastien Robin
apachedex
Commits
7aa6d72c
Commit
7aa6d72c
authored
11 years ago
by
Vincent Pelletier
Browse files
Options
Download
Email Patches
Plain Diff
Warn & exit when no stats are to be gathered.
parent
ed866ad8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
apachedex/__init__.py
apachedex/__init__.py
+4
-0
No files found.
apachedex/__init__.py
View file @
7aa6d72c
...
...
@@ -406,6 +406,10 @@ def main():
default_site
=
args
.
default
if
default_site
is
None
:
default_action
=
None
if
not
[
None
for
_
,
x
in
site_list
if
x
is
not
None
]:
print
>>
sys
.
stderr
,
'None of --default, --erp5-base and --base were '
\
'specified, nothing to do.'
sys
.
exit
(
1
)
else
:
default_action
=
partial
(
GenericSiteStats
,
prefix
=
0
)
infile_list
=
args
.
logfile
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment