[rtems-central commit] content: Make BSD_2_CLAUSE_LICENSE public

Sebastian Huber sebh at rtems.org
Tue Nov 21 13:35:40 UTC 2023


Module:    rtems-central
Branch:    master
Commit:    960921f749b8011e9c8bd696612f5d63a3450964
Changeset: http://git.rtems.org/rtems-central/commit/?id=960921f749b8011e9c8bd696612f5d63a3450964

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Nov 21 11:13:15 2023 +0100

content: Make BSD_2_CLAUSE_LICENSE public

---

 rtemsspec/content.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rtemsspec/content.py b/rtemsspec/content.py
index c91e6ccf..301baecb 100644
--- a/rtemsspec/content.py
+++ b/rtemsspec/content.py
@@ -511,7 +511,7 @@ class Content:
             out.write(str(self))
 
 
-_BSD_2_CLAUSE_LICENSE = """Redistribution and use in source and binary \
+BSD_2_CLAUSE_LICENSE = """Redistribution and use in source and binary \
 forms, with or without
 modification, are permitted provided that the following conditions
 are met:
@@ -647,7 +647,7 @@ class CContent(Content):
         """
         with self.comment_block():
             self.add(self._copyrights.get_statements())
-            self.add(_BSD_2_CLAUSE_LICENSE)
+            self.add(BSD_2_CLAUSE_LICENSE)
 
     def prepend_copyrights_and_licenses(self):
         """
@@ -657,7 +657,7 @@ class CContent(Content):
         content = CContent()
         with content.comment_block():
             content.add(self._copyrights.get_statements())
-            content.add(_BSD_2_CLAUSE_LICENSE)
+            content.add(BSD_2_CLAUSE_LICENSE)
         content.append("")
         self.prepend(content)
 



More information about the vc mailing list