Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Odoo scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
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 scripts
Commits
9fec47b0
Commit
9fec47b0
authored
3 years ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
make import_* follow symlinks
parent
04a380e9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!33
🚑 make import_* follow symlinks
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NEWS.rst
+2
-0
2 additions, 0 deletions
NEWS.rst
odoo_scripts/importing.py
+3
-1
3 additions, 1 deletion
odoo_scripts/importing.py
with
5 additions
and
1 deletion
NEWS.rst
+
2
−
0
View file @
9fec47b0
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
do_tests.py: Do not crash when super project has an hyphen in its name.
do_tests.py: Do not crash when super project has an hyphen in its name.
import_* follow symlinks.
7.0.5
7.0.5
-----
-----
...
...
This diff is collapsed.
Click to expand it.
odoo_scripts/importing.py
+
3
−
1
View file @
9fec47b0
...
@@ -87,7 +87,9 @@
...
@@ -87,7 +87,9 @@
file_list
.
extend
(
files
)
file_list
.
extend
(
files
)
if
directories
:
if
directories
:
for
directory
in
directories
:
for
directory
in
directories
:
for
root
,
subdirectories
,
files
in
os
.
walk
(
directory
):
for
root
,
subdirectories
,
files
in
os
.
walk
(
directory
,
followlinks
=
True
):
file_list
.
extend
(
os
.
path
.
join
(
root
,
f
)
for
f
in
sorted
(
files
))
file_list
.
extend
(
os
.
path
.
join
(
root
,
f
)
for
f
in
sorted
(
files
))
for
filename
in
file_list
:
for
filename
in
file_list
:
...
...
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