Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
kamaki
Commits
c7198aba
Commit
c7198aba
authored
Jun 10, 2014
by
Stavros Sachtouris
Committed by
Ilias Tsitsimpis
Jun 11, 2014
Browse files
Fix typo in "load_image_meta" (cmds.image)
Closes #27
parent
e0b84074
Changes
1
Hide whitespace changes
Inline
Side-by-side
kamaki/cli/cmds/image.py
View file @
c7198aba
...
...
@@ -108,7 +108,7 @@ def load_image_meta(filepath):
key_ok
=
not
(
' '
in
k
or
'-'
in
k
)
assert
key_ok
,
'Invalid property key %s'
%
k
continue
meta_ok
=
not
isinstance
(
v
,
dict
,
list
)
meta_ok
=
not
isinstance
(
v
,
(
dict
,
list
)
)
assert
meta_ok
,
'Invalid value (meta key %s)'
%
k
meta_ok
=
' '
not
in
k
assert
meta_ok
,
'Invalid meta key [%s]'
%
k
...
...
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