[Checkins] SVN: z3ext.resource/trunk/ reindent code; changed copyright holder
Nikolay Kim
fafhrd91 at gmail.com
Tue Aug 11 05:30:06 EDT 2009
Log message for revision 102661:
reindent code; changed copyright holder
Changed:
U z3ext.resource/trunk/CHANGES.txt
U z3ext.resource/trunk/bootstrap.py
U z3ext.resource/trunk/setup.py
U z3ext.resource/trunk/src/z3ext/resource/fileresource.py
U z3ext.resource/trunk/src/z3ext/resource/interfaces.py
U z3ext.resource/trunk/src/z3ext/resource/resource.py
U z3ext.resource/trunk/src/z3ext/resource/tests.py
U z3ext.resource/trunk/src/z3ext/resource/zcml.py
U z3ext.resource/trunk/src/z3ext/resource/zrtresource/processor.py
U z3ext.resource/trunk/src/z3ext/resource/zrtresource/zrtresource.py
-=-
Modified: z3ext.resource/trunk/CHANGES.txt
===================================================================
--- z3ext.resource/trunk/CHANGES.txt 2009-08-11 09:26:09 UTC (rev 102660)
+++ z3ext.resource/trunk/CHANGES.txt 2009-08-11 09:30:05 UTC (rev 102661)
@@ -2,6 +2,12 @@
CHANGES
=======
+1.3.0 (Unreleased)
+------------------
+
+- Copyright holder changed
+
+
1.2.2 (2009-04-15)
------------------
Modified: z3ext.resource/trunk/bootstrap.py
===================================================================
--- z3ext.resource/trunk/bootstrap.py 2009-08-11 09:26:09 UTC (rev 102660)
+++ z3ext.resource/trunk/bootstrap.py 2009-08-11 09:30:05 UTC (rev 102661)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2006 Zope Corporation and Contributors.
+# Copyright (c) 2006 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
Modified: z3ext.resource/trunk/setup.py
===================================================================
--- z3ext.resource/trunk/setup.py 2009-08-11 09:26:09 UTC (rev 102660)
+++ z3ext.resource/trunk/setup.py 2009-08-11 09:30:05 UTC (rev 102661)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2007 Zope Corporation and Contributors.
+# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
@@ -21,7 +21,7 @@
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-version = '1.2.2dev'
+version = '1.3.0dev'
setup(name='z3ext.resource',
@@ -56,13 +56,13 @@
'zope.schema',
'zope.component',
'zope.interface',
- 'zope.configuration',
- 'zope.publisher',
- 'zope.security',
+ 'zope.configuration',
+ 'zope.publisher',
+ 'zope.security',
'zope.app.publisher',
'z3c.zrtresource',
- 'z3ext.cacheheaders',
- 'z3ext.cssregistry',
+ 'z3ext.cacheheaders',
+ 'z3ext.cssregistry',
],
extras_require = dict(test=['zope.traversing',
'zope.app.testing',
Modified: z3ext.resource/trunk/src/z3ext/resource/fileresource.py
===================================================================
--- z3ext.resource/trunk/src/z3ext/resource/fileresource.py 2009-08-11 09:26:09 UTC (rev 102660)
+++ z3ext.resource/trunk/src/z3ext/resource/fileresource.py 2009-08-11 09:30:05 UTC (rev 102661)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2007 Zope Corporation and Contributors.
+# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
@@ -24,7 +24,7 @@
from interfaces import IResource, IResourceFactoryType
-class File(BaseFile):
+class File(BaseFile):
def __init__(self, path, name):
super(File, self).__init__(path, name)
@@ -42,7 +42,7 @@
return long(file.lmt)
else:
return default
-
+
def render(self, request):
file = self.chooseContext()
f = open(file.path,'rb')
@@ -63,7 +63,7 @@
return long(file.lmt)
else:
return default
-
+
def render(self, request):
file = self.context.chooseContext()
f = open(file.path,'rb')
Modified: z3ext.resource/trunk/src/z3ext/resource/interfaces.py
===================================================================
--- z3ext.resource/trunk/src/z3ext/resource/interfaces.py 2009-08-11 09:26:09 UTC (rev 102660)
+++ z3ext.resource/trunk/src/z3ext/resource/interfaces.py 2009-08-11 09:30:05 UTC (rev 102661)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2007 Zope Corporation and Contributors.
+# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
Modified: z3ext.resource/trunk/src/z3ext/resource/resource.py
===================================================================
--- z3ext.resource/trunk/src/z3ext/resource/resource.py 2009-08-11 09:26:09 UTC (rev 102660)
+++ z3ext.resource/trunk/src/z3ext/resource/resource.py 2009-08-11 09:30:05 UTC (rev 102661)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2007 Zope Corporation and Contributors.
+# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
Modified: z3ext.resource/trunk/src/z3ext/resource/tests.py
===================================================================
--- z3ext.resource/trunk/src/z3ext/resource/tests.py 2009-08-11 09:26:09 UTC (rev 102660)
+++ z3ext.resource/trunk/src/z3ext/resource/tests.py 2009-08-11 09:30:05 UTC (rev 102661)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2007 Zope Corporation and Contributors.
+# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
@@ -37,8 +37,8 @@
class CustomResource(fileresource.FileResource):
pass
-
+
class CustomFileResourceFactory(fileresource.FileResourceFactory):
def __call__(self, request):
Modified: z3ext.resource/trunk/src/z3ext/resource/zcml.py
===================================================================
--- z3ext.resource/trunk/src/z3ext/resource/zcml.py 2009-08-11 09:26:09 UTC (rev 102660)
+++ z3ext.resource/trunk/src/z3ext/resource/zcml.py 2009-08-11 09:30:05 UTC (rev 102661)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2007 Zope Corporation and Contributors.
+# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
@@ -174,7 +174,7 @@
info['ext'] = file[1:]
else:
info['file'] = file
-
+
self.factory.types[file] = info
Modified: z3ext.resource/trunk/src/z3ext/resource/zrtresource/processor.py
===================================================================
--- z3ext.resource/trunk/src/z3ext/resource/zrtresource/processor.py 2009-08-11 09:26:09 UTC (rev 102660)
+++ z3ext.resource/trunk/src/z3ext/resource/zrtresource/processor.py 2009-08-11 09:30:05 UTC (rev 102661)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2007 Zope Corporation and Contributors.
+# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
@@ -34,7 +34,7 @@
def compile(self):
"""See interfaces.IZRTProcessor"""
- # get extra commands from external file
+ # get extra commands from external file
extra = ''
try:
if bool(self.commands_file):
@@ -63,7 +63,7 @@
raise UnknownZRTCommand(command)
# Add the command
- bytecode.append((EXTERNAL_COMMAND,
+ bytecode.append((EXTERNAL_COMMAND,
(cmd, args, match.start(), match.end())))
else:
# Add the command
@@ -93,7 +93,7 @@
raise UnknownZRTCommand(command)
# Add the command
- bytecode.append((EXTERNAL_COMMAND,
+ bytecode.append((EXTERNAL_COMMAND,
(cmd, args, match.start(), match.end())))
else:
# Add the command
Modified: z3ext.resource/trunk/src/z3ext/resource/zrtresource/zrtresource.py
===================================================================
--- z3ext.resource/trunk/src/z3ext/resource/zrtresource/zrtresource.py 2009-08-11 09:26:09 UTC (rev 102660)
+++ z3ext.resource/trunk/src/z3ext/resource/zrtresource/zrtresource.py 2009-08-11 09:30:05 UTC (rev 102661)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2007 Zope Corporation and Contributors.
+# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
@@ -29,7 +29,7 @@
class ZRTFileResource(FileResource):
""" zrt resource """
-
+
_commands_file = ''
def index_html(self, *args):
@@ -45,7 +45,7 @@
data = f.read()
f.close()
p = ExtZRTProcessor(
- data, commands={'replace': Replace},
+ data, commands={'replace': Replace},
commands_file = self._commands_file)
return p.process(getSite(), self.request)
@@ -55,7 +55,7 @@
if self.request.response.getStatus() == 304:
return ''
- # Process the file
+ # Process the file
p = ExtZRTProcessor(data, commands={'replace': Replace},
commands_file = self._commands_file)
return p.process(getSite(), self.request)
More information about the Checkins
mailing list