Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
limbra
limbra
Commits
b02e583e
Commit
b02e583e
authored
Apr 28, 2016
by
LE GAC Renaud
Browse files
Fix a bug in CheckAndFix._get_reg_institute.
parent
1e50350d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/harvest_tools/checkandfix.py
modules/harvest_tools/checkandfix.py
+3
-3
No files found.
modules/harvest_tools/checkandfix.py
View file @
b02e583e
...
...
@@ -114,13 +114,13 @@ class CheckAndFix(object):
reg_institute
=
institute
.
rex
()
# additional
e
rules for the regular expression
# additional rules for the regular expression
add_rules
=
app
.
add_rules_reg_institute
if
add_rules
:
if
add_rules
.
startswith
(
'|'
):
reg_institute
=
"%s%s"
(
reg_institute
,
add_rules
)
reg_institute
=
"%s%s"
%
(
reg_institute
,
add_rules
)
else
:
reg_institute
=
"%s|%s"
(
reg_institute
,
add_rules
)
reg_institute
=
"%s|%s"
%
(
reg_institute
,
add_rules
)
app
.
institute
=
institute
app
.
reg_institute
=
reg_institute
...
...
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