Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
244b26a2
Commit
244b26a2
authored
Oct 08, 2020
by
marc duez
Browse files
migrator.py : IDmapper ignore empty values
parent
82fdbfc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/scripts/migrator.py
View file @
244b26a2
...
...
@@ -78,6 +78,8 @@ class IdMapper():
self
.
mapping
=
{}
def
getMatchingId
(
self
,
oid
):
if
oid
is
None
:
return
oid
if
oid
not
in
self
.
mapping
:
self
.
log
.
debug
(
'id %d not in mapping, returning it'
%
oid
)
self
.
log
.
debug
(
"mapping: "
+
str
(
self
.
mapping
.
keys
()))
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment