mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2024-12-01 09:49:42 +00:00
removed debug prints
This commit is contained in:
parent
9a87d10326
commit
3e3a547634
@ -201,7 +201,6 @@ def run():
|
||||
parser.add_argument("--vtoc", action="store_true", default=False, help="show the VTOC")
|
||||
parser.add_argument("-m", "--metadata", action="store_true", default=False, help="show extra metadata for named files")
|
||||
options, extra_args = parser.parse_known_args()
|
||||
print options, extra_args
|
||||
|
||||
# Turn off debug messages by default
|
||||
logging.basicConfig(level=logging.WARNING)
|
||||
@ -225,7 +224,6 @@ def run():
|
||||
if parser and parser.image:
|
||||
if options.all:
|
||||
file_list = list(parser.image.files)
|
||||
print file_list
|
||||
|
||||
if options.segments:
|
||||
print "\n".join([str(a) for a in parser.segments])
|
||||
|
@ -350,7 +350,6 @@ class Dos33Dirent(Dirent):
|
||||
self.start_read(image)
|
||||
data, _, _, _ = self.read_sector(image)
|
||||
addr = int(data[0]) + 256 * int(data[1])
|
||||
print "found addr", addr
|
||||
return addr
|
||||
|
||||
|
||||
@ -537,7 +536,6 @@ class Dos33DiskImage(DiskImageBase):
|
||||
name = "%s %03d %s" % (dirent.summary, dirent.num_sectors, dirent.filename)
|
||||
verbose_name = "%s (%d sectors, first@%d) %s" % (dirent.filename, dirent.num_sectors, dirent.sector_map[0], dirent.verbose_info)
|
||||
raw = self.rawdata.get_indexed(byte_order)
|
||||
print dirent.file_type, dirent.filename
|
||||
if dirent.file_type == "B":
|
||||
addr = dirent.get_binary_start_address(self) - 4 # factor in 4 byte header
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user