From 81bdb47c442d9d1fe343e4ff69272e3fc7953151 Mon Sep 17 00:00:00 2001 From: Sean Finney Date: Sun, 6 Sep 2009 22:24:23 +0200 Subject: Revert "Revert "remove some extra print statements that only cause problems"" This reverts commit a9ffd60188742f144d1a8d49f93b05f8e34c39d7. d'oh, i reverted the wrong commit. this re-adds the wrongly reverted commit. --- patchtracker/Patch.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/patchtracker/Patch.py b/patchtracker/Patch.py index dff00e0..16bcaa6 100644 --- a/patchtracker/Patch.py +++ b/patchtracker/Patch.py @@ -54,7 +54,7 @@ class PatchSeries (list): self.style = "dpatch" except IOError, e: if e.errno != errno.ENOENT: - print "ERROR: unable to open dpatch list..." + #print "ERROR: unable to open dpatch list..." self.blank() return try: @@ -62,7 +62,7 @@ class PatchSeries (list): self.style = "quilt" except IOError, e: if e.errno != errno.ENOENT: - print "ERROR: series file is a directory..." + #print "ERROR: series file is a directory..." self.blank() return @@ -101,14 +101,14 @@ class PatchSeries (list): try: self.patches[p] = Patch(file(os.sep.join([dir, p+".dpatch"]))) except: - print "ERROR: could not find patch",p + #print "ERROR: could not find patch",p self.blank() return elif e.errno == errno.EISDIR: - print "WARNING: directory %s in patch dir, patch list incomplete"%(p) + #print "WARNING: directory %s in patch dir, patch list incomplete"%(p) removelater.append(p) else: - print "ERROR: could not find patch",p + #print "ERROR: could not find patch",p self.blank() return for p in removelater: -- cgit v1.2.3