Revision 95482dab

b/kamaki/cli/commands/snf-astakos.py
739 739
    @errors.generic.all
740 740
    @astakoserror
741 741
    def _run(self):
742
        self._print(self.client.get_memberships(self.token, self['project']))
742
        project = self['project']
743
        if project is not None:
744
            project = int(project)
745
        self._print(self.client.get_memberships(self.token, project))
743 746

  
744 747
    def main(self):
745 748
        super(self.__class__, self)._run()

Also available in: Unified diff