Revision 8e3cbcfe
b/kamaki/cli/commands/pithos.py | ||
---|---|---|
1059 | 1059 |
@errors.pithos.container |
1060 | 1060 |
@errors.pithos.object_path |
1061 | 1061 |
def _run(self): |
1062 |
r = self.client.download_object(
|
|
1062 |
self.client.download_object( |
|
1063 | 1063 |
self.path, self._out, |
1064 | 1064 |
range_str=self['range'], |
1065 | 1065 |
version=self['object_version'], |
... | ... | |
1067 | 1067 |
if_none_match=self['if_none_match'], |
1068 | 1068 |
if_modified_since=self['if_modified_since'], |
1069 | 1069 |
if_unmodified_since=self['if_unmodified_since']) |
1070 |
print r
|
|
1070 |
self._out.flush()
|
|
1071 | 1071 |
|
1072 | 1072 |
def main(self, path_or_url): |
1073 | 1073 |
super(self.__class__, self)._run(path_or_url) |
Also available in: Unified diff