Stop printing random stuff on stdout

This commit is contained in:
Florian Festi 2017-02-26 16:17:20 +01:00
parent 2c721a98f1
commit a0d992f43a
2 changed files with 0 additions and 8 deletions

View File

@ -147,7 +147,6 @@ def argparseSections(s):
m = re.match(r"(\d+(\.\d+)?)/(\d+)", s) m = re.match(r"(\d+(\.\d+)?)/(\d+)", s)
if m: if m:
n = int(m.group(3)) n = int(m.group(3))
print([float(m.group(1))] * n)
return [float(m.group(1)) / n] * n return [float(m.group(1)) / n] * n
m = re.match(r"(\d+(\.\d+)?)\*(\d+)", s) m = re.match(r"(\d+(\.\d+)?)\*(\d+)", s)
if m: if m:
@ -781,8 +780,6 @@ class Boxes:
""" """
d = (x - hl - 2 * r) / 2.0 d = (x - hl - 2 * r) / 2.0
if d < 0:
print("Handle too wide")
self.ctx.save() self.ctx.save()

View File

@ -652,11 +652,6 @@ class Gears():
# so split and make a list # so split and make a list
warnings.extend(msg.split("\n")) warnings.extend(msg.split("\n"))
if self.options.undercut_alert:
inkex.debug(msg)
else:
print(msg)
# All base calcs done. Start building gear # All base calcs done. Start building gear
points = generate_spur_points(teeth, base_radius, pitch_radius, outer_radius, root_radius, accuracy_involute, accuracy_circular) points = generate_spur_points(teeth, base_radius, pitch_radius, outer_radius, root_radius, accuracy_involute, accuracy_circular)