pythonizer
pythonizer copied to clipboard
Subexpression parens are missing on postfix control
Subexpression parens are missing on postfix control when subexpression begins with a paren. For example:
print "found snmp data for hour $hour\n"
if (-f "$cttdir/bytes.$hour" or -f "$cttdir/bytes.$hour.Z")
and $options{debug};
The '(' fools the translator into not surrounding the if with parens, so the last paren-like item is eliminated in the generated code.
Fixed in https://github.com/snoopyjc/pythonizer