Fix PEP8 block comment issues (E265)

This commit is contained in:
Diederik van der Boor
2015-12-28 15:14:24 +01:00
parent aaf06c71a5
commit b7431b2d06
8 changed files with 30 additions and 30 deletions
+2 -2
View File
@@ -96,7 +96,7 @@ def poly_sql_query():
WHERE pexp_modela.field1=%i
ORDER BY pexp_modela.id
""" % rnd.randint(0, 100) )
#row=cursor.fetchone()
# row=cursor.fetchone()
return
@@ -108,5 +108,5 @@ def poly_sql_query2():
WHERE pexp_modela.field1=%i
ORDER BY pexp_modela.id
""" % rnd.randint(0, 100) )
#row=cursor.fetchone()
# row=cursor.fetchone()
return
@@ -22,7 +22,7 @@ def show_queries():
import time
###################################################################################
### benchmark wrappers
# benchmark wrappers
def print_timing(func, message='', iterations=1):
@@ -54,12 +54,12 @@ def run_vanilla_any_poly(func, iterations=1):
###################################################################################
### benchmarks
# benchmarks
def bench_create(model):
for i in xrange(num_objects):
model.objects.create(field1='abc' + str(i), field2='abcd' + str(i), field3='abcde' + str(i))
#print 'count:',model.objects.count()
# print 'count:',model.objects.count()
def bench_load1(model):
@@ -92,7 +92,7 @@ def bench_delete(model):
model.objects.all().delete()
###################################################################################
### Command
# Command
class Command(NoArgsCommand):