xpirt / img2sdat

Convert sparse EXT4 image to sparse Android data image
MIT License
153 stars 98 forks source link

Too many arguments in bif.Compute() call #1

Closed willemw12 closed 9 years ago

willemw12 commented 9 years ago

Error:

img2sdat system.new.dat2 111
Total of 215040 4096-byte output blocks in 428 input chunks.
Traceback (most recent call last):
  File "/usr/share/img2sdat/img2sdat.py", line 33, in <module>
    main(sysimg, outdir)
  File "/usr/share/img2sdat/img2sdat.py", line 13, in main
    bif.Compute('system', outdir)
TypeError: Compute() takes exactly 2 arguments (3 given)

Fix is to change:

bif.Compute('system', outdir)

to:

bif.Compute(outdir)
xpirt commented 9 years ago

fixed. thank you for your contribution.