summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Mooney <pmooney@pfmooney.com>2019-04-26 19:04:40 +0000
committerPatrick Mooney <pmooney@pfmooney.com>2019-04-26 22:03:15 +0000
commit1e1350fae0b20d01e17da6f91b555e979958cded (patch)
tree1a6aaee60316180d0a5b38140dd224ac3a00771b
parentc0fe56ca3adfe07b5bb3969d7e73386e349eb357 (diff)
downloadillumos-joyent-1e1350fae0b20d01e17da6f91b555e979958cded.tar.gz
OS-7773 remove comma from copyright pbchk
Reviewed by: Cody Peter Mello <cody.mello@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
-rw-r--r--usr/src/tools/onbld/Checks/Copyright.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/tools/onbld/Checks/Copyright.py b/usr/src/tools/onbld/Checks/Copyright.py
index 7727265622..00ca8829b9 100644
--- a/usr/src/tools/onbld/Checks/Copyright.py
+++ b/usr/src/tools/onbld/Checks/Copyright.py
@@ -25,7 +25,7 @@
#
# Copyright 2008, 2010, Richard Lowe
-# Copyright 2019, Joyent, Inc.
+# Copyright 2019 Joyent, Inc.
# Make sure there is a copyright claim for the current year.
@@ -38,7 +38,7 @@ def is_copyright(line):
return re.search(r'Copyright (?!\[yyyy\])', line)
def is_current_copyright(line):
- return re.search(r'Copyright %s, Joyent, Inc.$' % time.strftime('%Y'), line)
+ return re.search(r'Copyright %s Joyent, Inc.$' % time.strftime('%Y'), line)
def copyright(fh, filename=None, output=sys.stderr):
ret = rights = goodrights = 0