Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
physical
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpha
physical
Commits
c20466d3
Commit
c20466d3
authored
Nov 22, 2018
by
段英荣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify
parent
ac42aad0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
type_info.py
trans2es/type_info.py
+0
-14
No files found.
trans2es/type_info.py
View file @
c20466d3
...
@@ -243,20 +243,6 @@ def get_type_info_map():
...
@@ -243,20 +243,6 @@ def get_type_info_map():
)
)
]
]
try
:
pk_blacklist_map
=
settings
.
DATA_SYNC
.
get
(
'pk_blacklist'
,
{})
assert
isinstance
(
pk_blacklist_map
,
dict
)
except
(
ImportError
,
AttributeError
):
traceback
.
print_exc
()
print
(
'fallback to empty pk_blacklist_map'
,
file
=
sys
.
stderr
)
pk_blacklist_map
=
{}
for
type_info
in
type_info_list
:
type_info
.
pk_blacklist
=
pk_blacklist_map
.
get
(
type_info
.
name
,
())
print
(
'loaded pk_blacklist for {}: {}'
.
format
(
type_info
.
name
,
sorted
(
list
(
type_info
.
pk_blacklist
)),
),
file
=
sys
.
stderr
)
type_info_map
=
{
type_info_map
=
{
type_info
.
name
:
type_info
type_info
.
name
:
type_info
for
type_info
in
type_info_list
for
type_info
in
type_info_list
...
...
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