summaryrefslogtreecommitdiff
path: root/FixUtil.py
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-01-02 16:11:55 -0330
committerDwayne Boone <dwayne@zeroc.com>2009-01-02 16:11:55 -0330
commit6cc5af6fcbd589ac1b704dba248aecd219556b03 (patch)
tree70763c9d285e0a2ef4152818aa1a95926bc5fa1d /FixUtil.py
parentMerged with R3_3_branch (diff)
parentBug 3621 - updated copyright to 2009 (diff)
downloadice-6cc5af6fcbd589ac1b704dba248aecd219556b03.tar.bz2
ice-6cc5af6fcbd589ac1b704dba248aecd219556b03.tar.xz
ice-6cc5af6fcbd589ac1b704dba248aecd219556b03.zip
Merge branch 'R3_3_branch'
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()