Skip to content

Commit

Permalink
Removing debug print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jul 27, 2015
1 parent bc1db2d commit c379430
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,13 @@ def get_metric_obj(self, metric_name):
@classmethod
def latest_metadata(cls, name):
results = client.time_boundary(datasource=name)
print "---" * 100
print name
print results
max_time = results[0]['result']['minTime']
max_time = parse(max_time)
intervals = (max_time - timedelta(seconds=1)).isoformat() + '/'
intervals += (max_time + timedelta(seconds=1)).isoformat()
segment_metadata = client.segment_metadata(
datasource=name,
intervals=intervals)
print segment_metadata
if segment_metadata:
return segment_metadata[-1]['columns']

Expand Down

0 comments on commit c379430

Please sign in to comment.