Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
apachedex
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastien Robin
apachedex
Commits
7aa6d72c
Commit
7aa6d72c
authored
Apr 03, 2013
by
Vincent Pelletier
Browse files
Options
Browse Files
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():
...
@@ -406,6 +406,10 @@ def main():
default_site
=
args
.
default
default_site
=
args
.
default
if
default_site
is
None
:
if
default_site
is
None
:
default_action
=
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
:
else
:
default_action
=
partial
(
GenericSiteStats
,
prefix
=
0
)
default_action
=
partial
(
GenericSiteStats
,
prefix
=
0
)
infile_list
=
args
.
logfile
infile_list
=
args
.
logfile
...
...
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