summaryrefslogtreecommitdiff
path: root/patchtracker
diff options
context:
space:
mode:
authorSean Finney <seanius@debian.org>2009-09-05 19:12:56 +0200
committerSean Finney <seanius@debian.org>2009-09-05 19:12:56 +0200
commitc2ef848129e03d5486ff3d084d903a7ef7ea658b (patch)
tree4bc28653a8b6fb0aac2ab33deb3a640acef39590 /patchtracker
parentaa1ccf713f69ee919cd36aa933a1a66d28cc941d (diff)
downloadpatch-tracker-c2ef848129e03d5486ff3d084d903a7ef7ea658b.tar.gz
remove some extra print statements that only cause problems
while some of them are printed only in the case of error, mod_wsgi doesn't allow sys.stdout access and therefore they're useless anyway.
Diffstat (limited to 'patchtracker')
-rw-r--r--patchtracker/Patch.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/patchtracker/Patch.py b/patchtracker/Patch.py
index c79f95c..670f389 100644
--- a/patchtracker/Patch.py
+++ b/patchtracker/Patch.py
@@ -50,7 +50,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:
@@ -58,7 +58,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
@@ -97,14 +97,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: