Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
8de7ba03
Commit
8de7ba03
authored
Dec 15, 2020
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused imports
parent
035b22e2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
manual/conf.py
manual/conf.py
+2
-3
scripts/indent_trace_log.py
scripts/indent_trace_log.py
+1
-1
No files found.
manual/conf.py
View file @
8de7ba03
...
@@ -17,10 +17,9 @@
...
@@ -17,10 +17,9 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
#
# import os
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
# sys.path.insert(0, os.path.abspath('.'))
import
os
,
sys
,
git
,
re
,
pathlib
import
os
,
git
,
re
,
pathlib
# -- CAF-specific variables ---------------------------------------------------
# -- CAF-specific variables ---------------------------------------------------
...
@@ -30,7 +29,7 @@ root_dir = conf_dir.parent.absolute()
...
@@ -30,7 +29,7 @@ root_dir = conf_dir.parent.absolute()
# Fetch the CAF version.
# Fetch the CAF version.
with
open
(
os
.
path
.
join
(
root_dir
,
"libcaf_core/caf/config.hpp"
))
as
f
:
with
open
(
os
.
path
.
join
(
root_dir
,
"libcaf_core/caf/config.hpp"
))
as
f
:
match
=
re
.
search
(
'^#define CAF_VERSION ([0-9]+)$'
,
f
.
read
(),
re
.
MULTILINE
)
match
=
re
.
search
(
'^#define CAF_VERSION ([0-9]+)$'
,
f
.
read
(),
re
.
MULTILINE
)
if
match
==
None
:
if
match
is
None
:
raise
RuntimeError
(
"unable to locate CAF_VERSION string in config.hpp"
)
raise
RuntimeError
(
"unable to locate CAF_VERSION string in config.hpp"
)
raw_version
=
int
(
match
.
group
(
1
))
raw_version
=
int
(
match
.
group
(
1
))
major
=
int
(
raw_version
/
10000
)
major
=
int
(
raw_version
/
10000
)
...
...
scripts/indent_trace_log.py
View file @
8de7ba03
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
# usage (read file): indent_trace_log.py FILENAME
# usage (read file): indent_trace_log.py FILENAME
# (read stdin): indent_trace_log.py -
# (read stdin): indent_trace_log.py -
import
argparse
,
sys
,
os
,
fileinput
,
re
import
argparse
,
sys
,
os
,
re
def
is_entry
(
line
):
def
is_entry
(
line
):
return
'TRACE'
in
line
and
'ENTRY'
in
line
return
'TRACE'
in
line
and
'ENTRY'
in
line
...
...
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