Revision 432cea25 kamaki/cli/commands/pithos.py
b/kamaki/cli/commands/pithos.py | ||
---|---|---|
181 | 181 |
|
182 | 182 |
def _run(self, url=None): |
183 | 183 |
acc, con, self.path = self._resolve_pithos_url(url or '') |
184 |
self.account = acc or getattr(self, 'account', '') |
|
184 |
# self.account = acc or getattr(self, 'account', '')
|
|
185 | 185 |
super(_pithos_container, self)._run() |
186 | 186 |
self.container = con or self['container'] or getattr( |
187 | 187 |
self, 'container', None) or getattr(self.client, 'container', '') |
188 |
self.client.account = acc or self.client.account |
|
188 | 189 |
self.client.container = self.container |
189 | 190 |
|
190 | 191 |
|
... | ... | |
618 | 619 |
container=self[ |
619 | 620 |
'destination_container'] or dst_con or self.client.container, |
620 | 621 |
account=self[ |
621 |
'destination_user_uuid'] or dst_acc or self.client.account)
|
|
622 |
'destination_user_uuid'] or dst_acc or self.account) |
|
622 | 623 |
self.dst_path = dst_path or self.path |
623 | 624 |
|
624 | 625 |
|
... | ... | |
647 | 648 |
src_object=src, |
648 | 649 |
dst_container=self.dst_client.container, |
649 | 650 |
dst_object=dst, |
650 |
source_account=self.account, |
|
651 |
source_account=self.client.account,
|
|
651 | 652 |
source_version=self['source_version'], |
652 | 653 |
public=self['public'], |
653 | 654 |
content_type=self['content_type']) |
Also available in: Unified diff