Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odevzdávací Systém MO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
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
Martin Mareš
Odevzdávací Systém MO
Commits
974509ac
Commit
974509ac
authored
4 years ago
by
Jan Prachař
Browse files
Options
Downloads
Patches
Plain Diff
Import: oříznout mezery ze jména
parent
a79b1473
No related branches found
No related tags found
1 merge request
!73
Import: oříznout mezery ze jména
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
mo/imports.py
+1
-0
1 addition, 0 deletions
mo/imports.py
with
1 addition
and
0 deletions
mo/imports.py
+
1
−
0
View file @
974509ac
...
...
@@ -106,6 +106,7 @@ class Import:
return
self
.
error
(
str
(
e
))
def
parse_name
(
self
,
name
:
str
)
->
Optional
[
str
]:
name
=
name
.
strip
()
if
name
==
""
:
return
self
.
error
(
'
Jméno nesmí být prázdné
'
)
...
...
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