confluence-python-cli icon indicating copy to clipboard operation
confluence-python-cli copied to clipboard

get_content declared twice

Open primetheus opened this issue 8 years ago • 0 comments
trafficstars

The ConfluencePage class has get_content declared twice:

def get_content(self):`
    self.wanted_page_id = self.get_page_id
    self.content_values = {"style": "clean"}
    self.page_content = self.wanted_page = self.server.confluence2.renderContet(self.token, self.wanted_page_id, self.content_values)

def get_content(self):
    return self.get()['content']

primetheus avatar Apr 29 '17 02:04 primetheus