pep8 logic fix

This commit is contained in:
Matt Martz 2014-03-09 22:41:34 -05:00
parent 3c81acc96c
commit d28c8f18b0
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ def get_attributes_by_tag_name(dom, tag_name):
def print_dots(current, total, start=False, end=False):
sys.stdout.write('.')
if current + 1 == total and end == True:
if current + 1 == total and end is True:
sys.stdout.write('\n')
sys.stdout.flush()