From 3e3a547634133a256e9ac583540f2164680bf393 Mon Sep 17 00:00:00 2001 From: Rob McMullen Date: Sun, 26 Feb 2017 19:12:32 -0800 Subject: [PATCH] removed debug prints --- atrcopy/__init__.py | 2 -- atrcopy/dos33.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/atrcopy/__init__.py b/atrcopy/__init__.py index e077962..2a607a0 100644 --- a/atrcopy/__init__.py +++ b/atrcopy/__init__.py @@ -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]) diff --git a/atrcopy/dos33.py b/atrcopy/dos33.py index 2248d9e..c565a27 100644 --- a/atrcopy/dos33.py +++ b/atrcopy/dos33.py @@ -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: