From a9ffd60188742f144d1a8d49f93b05f8e34c39d7 Mon Sep 17 00:00:00 2001 From: Sean Finney Date: Sun, 6 Sep 2009 21:56:33 +0200 Subject: Revert "remove some extra print statements that only cause problems" This reverts commit c2ef848129e03d5486ff3d084d903a7ef7ea658b. --- patchtracker/Patch.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/patchtracker/Patch.py b/patchtracker/Patch.py index 16bcaa6..dff00e0 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