python3-cyberfusion-file-support 1.3__tar.gz → 1.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (12) hide show
  1. {python3_cyberfusion_file_support-1.3 → python3_cyberfusion_file_support-1.4}/PKG-INFO +1 -1
  2. {python3_cyberfusion_file_support-1.3 → python3_cyberfusion_file_support-1.4}/pyproject.toml +1 -1
  3. {python3_cyberfusion_file_support-1.3 → python3_cyberfusion_file_support-1.4}/src/cyberfusion/FileSupport/__init__.py +2 -2
  4. {python3_cyberfusion_file_support-1.3 → python3_cyberfusion_file_support-1.4}/src/python3_cyberfusion_file_support.egg-info/PKG-INFO +1 -1
  5. {python3_cyberfusion_file_support-1.3 → python3_cyberfusion_file_support-1.4}/README.md +0 -0
  6. {python3_cyberfusion_file_support-1.3 → python3_cyberfusion_file_support-1.4}/setup.cfg +0 -0
  7. {python3_cyberfusion_file_support-1.3 → python3_cyberfusion_file_support-1.4}/src/cyberfusion/FileSupport/encryption.py +0 -0
  8. {python3_cyberfusion_file_support-1.3 → python3_cyberfusion_file_support-1.4}/src/cyberfusion/FileSupport/exceptions.py +0 -0
  9. {python3_cyberfusion_file_support-1.3 → python3_cyberfusion_file_support-1.4}/src/python3_cyberfusion_file_support.egg-info/SOURCES.txt +0 -0
  10. {python3_cyberfusion_file_support-1.3 → python3_cyberfusion_file_support-1.4}/src/python3_cyberfusion_file_support.egg-info/dependency_links.txt +0 -0
  11. {python3_cyberfusion_file_support-1.3 → python3_cyberfusion_file_support-1.4}/src/python3_cyberfusion_file_support.egg-info/requires.txt +0 -0
  12. {python3_cyberfusion_file_support-1.3 → python3_cyberfusion_file_support-1.4}/src/python3_cyberfusion_file_support.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python3-cyberfusion-file-support
3
- Version: 1.3
3
+ Version: 1.4
4
4
  Summary: Library for idempotent writing to files.
5
5
  Author-email: Cyberfusion <support@cyberfusion.io>
6
6
  Project-URL: Source, https://github.com/CyberfusionIO/python3-cyberfusion-file-support
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "python3-cyberfusion-file-support"
7
- version = "1.3"
7
+ version = "1.4"
8
8
  description = "Library for idempotent writing to files."
9
9
  readme = "README.md"
10
10
  authors = [
@@ -97,8 +97,8 @@ class DestinationFileReplacement:
97
97
  """Get contents."""
98
98
  if self._contents != "" and not self._contents.endswith(
99
99
  "\n"
100
- ): # Some programs require newline to consider last line completed
101
- raise ValueError
100
+ ): # Some programs require EOL
101
+ self._contents += "\n"
102
102
 
103
103
  if not self.default_comment_character:
104
104
  return self._contents
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python3-cyberfusion-file-support
3
- Version: 1.3
3
+ Version: 1.4
4
4
  Summary: Library for idempotent writing to files.
5
5
  Author-email: Cyberfusion <support@cyberfusion.io>
6
6
  Project-URL: Source, https://github.com/CyberfusionIO/python3-cyberfusion-file-support