Rev 3244 | Rev 3259 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3244 | Rev 3245 | ||
---|---|---|---|
Line 53... | Line 53... | ||
53 | return |
53 | return |
54 | 54 | ||
55 | align = int(sys.argv[1], 0) |
55 | align = int(sys.argv[1], 0) |
56 | fs_image = os.path.abspath(sys.argv[2]) |
56 | fs_image = os.path.abspath(sys.argv[2]) |
57 | if (not os.path.isfile(fs_image)): |
57 | if (not os.path.isfile(fs_image)): |
58 | print "<FS_IMAGE> must be a directory" |
58 | print "<FS_IMAGE> must be a file" |
59 | return |
59 | return |
60 | 60 | ||
61 | inf = file(fs_image, "rb") |
61 | inf = file(fs_image, "rb") |
62 | outf = file(sys.argv[3], "wb") |
62 | outf = file(sys.argv[3], "wb") |
63 | 63 |