Revision 9e0a1a4c kamaki/cli/commands/pithos.py
b/kamaki/cli/commands/pithos.py | ||
---|---|---|
1171 | 1171 |
|
1172 | 1172 |
def main(self, local_path, container____path__=None): |
1173 | 1173 |
super(self.__class__, self)._run(container____path__) |
1174 |
remote_path = self.path or path.basename(local_path)
|
|
1174 |
remote_path = self.path or path.basename(path.abspath(local_path))
|
|
1175 | 1175 |
self._run(local_path=local_path, remote_path=remote_path) |
1176 | 1176 |
|
1177 | 1177 |
|
Also available in: Unified diff