Skip to content

Commit

Permalink
Output To Fix Python 2.7 on Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
super3 committed Aug 10, 2015
1 parent 35a0e79 commit f4aa2d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dataserv/app.py
Expand Up @@ -104,6 +104,11 @@ def total():
# return in TB the number
app.config["BYTE_SIZE"] = 1024*1024*128
result = total_shards * (app.config["BYTE_SIZE"] / (1024*1024*1024*1024)) # 1 TB

print(total_shards)
print(app.config["BYTE_SIZE"])
print(app.config["BYTE_SIZE"] / (1024*1024*1024*1024))

return "{0} TB".format(round(result,2))


Expand Down

0 comments on commit f4aa2d6

Please sign in to comment.