Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
Humanize Duration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
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
XCG
Odoo modules
Humanize Duration
Merge requests
!1
make the module installable as a python package
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
make the module installable as a python package
topic/15.0/installable
into
branch/15.0
Overview
0
Commits
1
Pipelines
2
Changes
13
Merged
Vincent Hatakeyama
requested to merge
topic/15.0/installable
into
branch/15.0
1 year ago
Overview
0
Commits
1
Pipelines
2
Changes
13
Expand
--HG-- branch : 15.0
0
0
Merge request reports
Viewing commit
71bb5301
Show latest version
13 files
+
267
−
34
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
13
Search (e.g. *.vue) (Ctrl+P)
71bb5301
make the module installable as a python package
· 71bb5301
Vincent Hatakeyama
authored
1 year ago
doc/autotodo.py
+
3
−
3
Options
@@ -2,7 +2,7 @@
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright
(C)
2014, 2018, 2022 XCG Consulting
# Copyright
©
2014, 2018, 2022 XCG Consulting
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
@@ -99,8 +99,8 @@
res
[
tag
].
extend
(
info
)
def
scan_file
(
filename
,
tags
)
->
tuple
[
dict
[
str
,
tuple
[
str
,
int
,
str
]],
int
]:
res
=
{
tag
:
[]
for
tag
in
tags
}
def
scan_file
(
filename
,
tags
)
->
tuple
[
dict
[
str
,
list
[
tuple
[
str
,
int
,
str
]]
]
,
int
]:
res
:
dict
[
str
,
list
[
tuple
[
str
,
int
,
str
]]]
=
{
tag
:
[]
for
tag
in
tags
}
line_num
:
int
=
0
with
open
(
filename
,
"
r
"
)
as
f
:
for
line_num
,
line
in
enumerate
(
f
):
Loading