Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
storagedriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
4
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
bee0b576
authored
Sep 28, 2017
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disk.py: fix typo
parent
ee429ef5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
disk.py
+1
-1
No files found.
disk.py
View file @
bee0b576
...
@@ -217,7 +217,7 @@ class Disk(object):
...
@@ -217,7 +217,7 @@ class Disk(object):
try
:
try
:
with
open
(
disk_path
,
'wb'
)
as
f
:
with
open
(
disk_path
,
'wb'
)
as
f
:
for
chunk
in
r
.
iter_content
(
chunk_size
=
chunk_size
):
for
chunk
in
r
.
iter_content
(
chunk_size
=
chunk_size
):
if
ext
in
(
'gz'
,
'bz'
):
if
ext
in
(
'gz'
,
'bz
2
'
):
chunk
=
decompressor
.
decompress
(
chunk
)
chunk
=
decompressor
.
decompress
(
chunk
)
f
.
write
(
chunk
)
f
.
write
(
chunk
)
actsize
=
f
.
tell
()
actsize
=
f
.
tell
()
...
...
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