Skip to content

Commit

Permalink
Remove unused args from create_factory_creator
Browse files Browse the repository at this point in the history
To clean them up as they don't seem to be being used.

For #236.
  • Loading branch information
Michael Jones committed Jan 15, 2016
1 parent bd39754 commit cbae0e8
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 9 deletions.
2 changes: 0 additions & 2 deletions breathe/directive/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ def render(self, node_stack, project_info, filter_, target_handler, mask_factory

renderer_factory_creator = self.renderer_factory_creator_constructor.create_factory_creator(
project_info,
self.state.document,
target_handler
)

try:
Expand Down
2 changes: 0 additions & 2 deletions breathe/directive/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ def handle_contents(self, file_, project_info):

renderer_factory_creator = self.renderer_factory_creator_constructor.create_factory_creator(
project_info,
self.state.document,
target_handler
)
node_list = []
for node_stack in matches:
Expand Down
2 changes: 0 additions & 2 deletions breathe/directive/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ def handle_contents(self, project_info):

renderer_factory_creator = self.renderer_factory_creator_constructor.create_factory_creator(
project_info,
self.state.document,
target_handler
)
renderer_factory = renderer_factory_creator.create_factory(
[data_object],
Expand Down
2 changes: 0 additions & 2 deletions breathe/directives.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,6 @@ def run(self):

renderer_factory_creator = self.renderer_factory_creator_constructor.create_factory_creator(
project_info,
self.state.document,
target_handler
)
node_list = []

Expand Down
2 changes: 1 addition & 1 deletion breathe/renderer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def __init__(

self.parser_factory = parser_factory

def create_factory_creator(self, project_info, document, target_handler):
def create_factory_creator(self, project_info):

return DoxygenToRstRendererFactoryCreator(
self.parser_factory,
Expand Down

0 comments on commit cbae0e8

Please sign in to comment.