removed some print statements
This commit is contained in:
@@ -1572,13 +1572,9 @@ def repair_data(verbose=False):
|
|||||||
res = data.to_csv(w.csvfilename + '.gz',
|
res = data.to_csv(w.csvfilename + '.gz',
|
||||||
index_label='index',
|
index_label='index',
|
||||||
compression='gzip')
|
compression='gzip')
|
||||||
print 'adding csv file'
|
|
||||||
else:
|
else:
|
||||||
print w.id, ' No stroke records anywhere'
|
|
||||||
w.delete()
|
w.delete()
|
||||||
except:
|
except:
|
||||||
print 'failed'
|
|
||||||
print str(sys.exc_info()[0])
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# A wrapper around the rowingdata class, with some error catching
|
# A wrapper around the rowingdata class, with some error catching
|
||||||
|
|||||||
@@ -1896,7 +1896,6 @@ def workout_strava_upload_view(request,id=0):
|
|||||||
try:
|
try:
|
||||||
os.remove(tcxfile)
|
os.remove(tcxfile)
|
||||||
except WindowsError:
|
except WindowsError:
|
||||||
print tcxfile
|
|
||||||
pass
|
pass
|
||||||
url = "/rowers/workout/"+str(w.id)+"/edit"
|
url = "/rowers/workout/"+str(w.id)+"/edit"
|
||||||
|
|
||||||
@@ -3749,7 +3748,6 @@ def rankings_view2(request,theuser=0,
|
|||||||
sex = r.sex,
|
sex = r.sex,
|
||||||
weightcategory = r.weightcategory)
|
weightcategory = r.weightcategory)
|
||||||
|
|
||||||
print len(agerecords),'aap'
|
|
||||||
if len(agerecords) == 0:
|
if len(agerecords) == 0:
|
||||||
recalc = True
|
recalc = True
|
||||||
wcpower = []
|
wcpower = []
|
||||||
@@ -8163,8 +8161,6 @@ def workout_flexchart3_view(request,*args,**kwargs):
|
|||||||
yparam1 = yparam1.replace('/','_slsh_')
|
yparam1 = yparam1.replace('/','_slsh_')
|
||||||
yparam2 = yparam2.replace('/','_slsh_')
|
yparam2 = yparam2.replace('/','_slsh_')
|
||||||
|
|
||||||
print xparam,yparam1,yparam2,'aap'
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
extrametrics.pop('originalvelo')
|
extrametrics.pop('originalvelo')
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
|||||||
Reference in New Issue
Block a user