summaryrefslogtreecommitdiff
path: root/FixUtil.py
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-01-02 15:25:31 -0330
committerDwayne Boone <dwayne@zeroc.com>2009-01-02 15:25:31 -0330
commitf265bcb8a0fbc8f946883ba419fa83c5dc40f36a (patch)
tree92b521a5240427263ec5d3eb4df4e6b417c0918c /FixUtil.py
parentMerge branch 'R3_3_branch' of ssh://git/home/git/ice into R3_3_branch (diff)
downloadice-f265bcb8a0fbc8f946883ba419fa83c5dc40f36a.tar.bz2
ice-f265bcb8a0fbc8f946883ba419fa83c5dc40f36a.tar.xz
ice-f265bcb8a0fbc8f946883ba419fa83c5dc40f36a.zip
Bug 3621 - updated copyright to 2009
Diffstat (limited to 'FixUtil.py')
-rwxr-xr-xFixUtil.py17
1 files changed, 7 insertions, 10 deletions
diff --git a/FixUtil.py b/FixUtil.py
index 2301fabbe2e..a38e8c210d7 100755
--- a/FixUtil.py
+++ b/FixUtil.py
@@ -3,19 +3,11 @@
import os, sys, shutil, fnmatch, re, glob, getopt
from stat import *
-# **********************************************************************
-#
-# Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
-#
-# This copy of Ice is licensed to you under the terms described in the
-# ICE_LICENSE file included in this distribution.
-#
-# **********************************************************************
def copyright(commentMark, patchIceE):
result = [ ]
result.append(commentMark + " **********************************************************************\n")
result.append(commentMark + "\n")
- result.append(commentMark + " Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.\n")
+ result.append(commentMark + " Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.\n")
result.append(commentMark + "\n")
if patchIceE == True:
result.append(commentMark + " This copy of Ice-E is licensed to you under the terms described in the\n")
@@ -27,9 +19,14 @@ def copyright(commentMark, patchIceE):
result.append(commentMark + " **********************************************************************\n")
return result
+# **********************************************************************
+#
+# Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
#
-# Replace one copyright
+# This copy of Ice is licensed to you under the terms described in the
+# ICE_LICENSE file included in this distribution.
#
+# **********************************************************************
def replaceCopyright(file, commentMark, commentBegin, commentEnd, newCopyrightLines):
oldFile = open(file, "r")
oldLines = oldFile.readlines()