summaryrefslogtreecommitdiffstats
path: root/isys/isys.py
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2005-03-09 19:20:49 +0000
committerPeter Jones <pjones@redhat.com>2005-03-09 19:20:49 +0000
commit18e563adebeae67044571d78c114693f6e08309e (patch)
treef17d6d4d5d71705d75bfedf778a4a5cfdcc084ac /isys/isys.py
parentbcb805557d3241cc5e8c26dada2808489cbdee4e (diff)
downloadanaconda-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.py2
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)