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
snf-ganeti
Commits
52e2f66e
Commit
52e2f66e
authored
Dec 10, 2008
by
Michael Hanselmann
Browse files
ganeti.backend: Improve compression check
Reviewed-by: iustinp
parent
358a8811
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/backend.py
View file @
52e2f66e
...
...
@@ -78,6 +78,7 @@ def _Decompress(data):
@return: Decompressed data
"""
assert
isinstance
(
data
,
(
list
,
tuple
))
assert
len
(
data
)
==
2
(
encoding
,
content
)
=
data
if
encoding
==
constants
.
RPC_ENCODING_NONE
:
...
...
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