PEP8 whitespace fixes

This commit is contained in:
Laurens Van Houtven committed 2013-07-10 18:55:48 +02:00
1 parent cdc41128b4
commit ad932815b9
2 files changed
+7 -5

No files matched your search

+4 -4
View File
@@ -337,11 +337,11 @@ def _generate_code(scope, mixin_funcs={}, depth=0):
code += '%s = %s\n' % (name, value) code += '%s = %s\n' % (name, value)
if depth == 0: if depth == 0:
#with open('writeout.py', 'w') as f: # with open('writeout.py', 'w') as f:
# f.write(code) # f.write(code)
#import sys # import sys
#sys.stdout.write(code) # sys.stdout.write(code)
#exit() # exit()
pass pass
return code return code
+3 -1
View File
@@ -403,7 +403,9 @@ class ArrayInstance(pr.Base):
if self.var_args.start_pos != array.var_args.start_pos: if self.var_args.start_pos != array.var_args.start_pos:
items += array.iter_content() items += array.iter_content()
else: else:
debug.warning('ArrayInstance recursion', self.var_args) debug.warning(
'ArrayInstance recursion',
self.var_args)
continue continue
items += evaluate.get_iterator_types([typ]) items += evaluate.get_iterator_types([typ])