Permalink
Browse files

fixed #96 - always use \n to join lines

  • Loading branch information...
1 parent 57dbe98 commit 8d2de45a8e39f0de24279d183df5bcf3ca559414 @gornostal committed Dec 5, 2015
Showing with 1 addition and 8 deletions.
  1. +1 −8 Modific.py
View
@@ -361,14 +361,7 @@ def tf_diff_command(self, file_name):
return [get_user_command('tf') or 'tf', 'diff'] + vcs_options + [file_name]
def get_line_ending(self):
- le = self.view.line_endings().lower()
-
- if le == 'windows':
- return "\r\n"
- elif le == 'unix':
- return "\n"
- else:
- return os.linesep
+ return '\n'
def join_lines(self, lines):
"""

0 comments on commit 8d2de45

Please sign in to comment.