diff options
author | Peter Jones <pjones@redhat.com> | 2005-03-09 19:20:49 +0000 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2005-03-09 19:20:49 +0000 |
commit | 18e563adebeae67044571d78c114693f6e08309e (patch) | |
tree | f17d6d4d5d71705d75bfedf778a4a5cfdcc084ac /isys/isys.py | |
parent | bcb805557d3241cc5e8c26dada2808489cbdee4e (diff) | |
download | anaconda-18e563adebeae67044571d78c114693f6e08309e.tar.gz anaconda-18e563adebeae67044571d78c114693f6e08309e.tar.xz anaconda-18e563adebeae67044571d78c114693f6e08309e.zip |
only resize the array once.
Diffstat (limited to 'isys/isys.py')
-rw-r--r-- | isys/isys.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/isys.py b/isys/isys.py index 877445616..8b2f058c3 100644 --- a/isys/isys.py +++ b/isys/isys.py @@ -145,7 +145,7 @@ def unlosetup(device): os.close(loop) def ddfile(file, megs, pw = None): - buf = '\x00' * 1024 * 256 + buf = '\x00' * (1024 * 256) fd = os.open(file, os.O_RDWR | os.O_CREAT) |