Skip to content

Commit

Permalink
Merge pull request #221 from stefanodallapalma/issue_216
Browse files Browse the repository at this point in the history
Cleaning unused property setters
  • Loading branch information
ishepard authored Jul 4, 2022
2 parents a0f8fc3 + 2503918 commit 02161a5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pydriller/domain/commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,19 +194,11 @@ def source_code(self):
warn('The use of `source_code` is deprecated. Use `content` instead.', DeprecationWarning, stacklevel=2)
return self.__source_code

@source_code.setter
def source_code(self, value: str):
self.__source_code = value

@property
def source_code_before(self):
warn('The use of `source_code_before` is deprecated. Use `content_before` instead.', DeprecationWarning, stacklevel=2)
return self.__source_code_before

@source_code_before.setter
def source_code_before(self, value: str):
self.__source_code_before = value

@property
def added_lines(self) -> int:
"""
Expand Down

0 comments on commit 02161a5

Please sign in to comment.