Revision 00336c85 kamaki/cli/commands/pithos.py

b/kamaki/cli/commands/pithos.py
1645 1645
    """
1646 1646

  
1647 1647
    @errors.generic.all
1648
    def format_permition_dict(self, permissions):
1648
    def format_permission_dict(self, permissions):
1649 1649
        read = False
1650 1650
        write = False
1651 1651
        for perms in permissions:
......
1666 1666
    def _run(self, read, write):
1667 1667
        self._optional_output(self.client.set_object_sharing(
1668 1668
            self.path,
1669
            read_permition=read, write_permition=write))
1669
            read_permission=read, write_permission=write))
1670 1670

  
1671 1671
    def main(self, container___path, *permissions):
1672 1672
        super(self.__class__, self)._run(
1673 1673
            container___path,
1674 1674
            path_is_optional=False)
1675
        (read, write) = self.format_permition_dict(permissions)
1675
        (read, write) = self.format_permission_dict(permissions)
1676 1676
        self._run(read, write)
1677 1677

  
1678 1678

  

Also available in: Unified diff