Remove remaining print statements

I think these are the last two stragglers, including debugging lines

Change-Id: Ic3dd98480211d0f7d3cc951bec5cd54f902a101f
This commit is contained in:
Dean Troyer 2013-12-04 18:37:50 -06:00
parent 5dcc3b6164
commit 350718f3bb
2 changed files with 5 additions and 3 deletions

View File

@ -17,6 +17,7 @@
import datetime import datetime
import logging import logging
import sys
from cliff import lister from cliff import lister
@ -95,8 +96,10 @@ class ListUsage(lister.Lister):
pass pass
if len(usage_list) > 0: if len(usage_list) > 0:
print("Usage from %s to %s:" % (start.strftime(dateformat), sys.stdout.write("Usage from %s to %s:" % (
end.strftime(dateformat))) start.strftime(dateformat),
end.strftime(dateformat),
))
return (column_headers, return (column_headers,
(utils.get_item_properties( (utils.get_item_properties(

View File

@ -126,7 +126,6 @@ def show_object(
'container': container, 'container': container,
'object': obj, 'object': obj,
} }
#print "data: %s" % data
data['content-type'] = response.headers.get('content-type', None) data['content-type'] = response.headers.get('content-type', None)
if 'content-length' in response.headers: if 'content-length' in response.headers:
data['content-length'] = response.headers.get('content-length', None) data['content-length'] = response.headers.get('content-length', None)