Commit 7fe00ff3 authored by Jérémy Bobbio's avatar Jérémy Bobbio

Group getter and setter in Config class

parent d72808c0
......@@ -41,24 +41,24 @@ class Config(object):
def max_diff_block_lines(self):
return self._max_diff_block_lines
@property
def max_diff_input_lines(self):
return self._max_diff_input_lines
@property
def max_report_size(self):
return self._max_report_size
@max_diff_block_lines.setter
def max_diff_block_lines(self, value):
if value:
self._max_diff_block_lines = value
@property
def max_diff_input_lines(self):
return self._max_diff_input_lines
@max_diff_input_lines.setter
def max_diff_input_lines(self, value):
if value:
self._max_diff_input_lines = value
@property
def max_report_size(self):
return self._max_report_size
@max_report_size.setter
def max_report_size(self, value):
if value:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment