Commit a01512e5 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add newline at end of file.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39189 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3472e9e9
...@@ -44,4 +44,4 @@ class Gadget(XMLObject): ...@@ -44,4 +44,4 @@ class Gadget(XMLObject):
, PropertySheet.DublinCore , PropertySheet.DublinCore
, PropertySheet.DefaultImage , PropertySheet.DefaultImage
, PropertySheet.Gadget , PropertySheet.Gadget
) )
\ No newline at end of file
...@@ -396,4 +396,4 @@ def fixSkinNames(self, REQUEST=None, file=None, dry_run=0): ...@@ -396,4 +396,4 @@ def fixSkinNames(self, REQUEST=None, file=None, dry_run=0):
LOG('fixSkinNames', 0, line) LOG('fixSkinNames', 0, line)
msg += '%s\n' % line msg += '%s\n' % line
return msg return msg
\ No newline at end of file
...@@ -67,4 +67,4 @@ def recodeAllDocuments(self, REQUEST=None, dry_run=0): ...@@ -67,4 +67,4 @@ def recodeAllDocuments(self, REQUEST=None, dry_run=0):
for category in portal.portal_categories.objectValues('ERP5 Base Category'): for category in portal.portal_categories.objectValues('ERP5 Base Category'):
message += '# Checking the category %s\n' % category.getId() message += '# Checking the category %s\n' % category.getId()
recodeDocumentRecursively(category, dry_run=dry_run) recodeDocumentRecursively(category, dry_run=dry_run)
return message return message
\ No newline at end of file
...@@ -180,4 +180,4 @@ class ConversionTool(BaseTool): ...@@ -180,4 +180,4 @@ class ConversionTool(BaseTool):
""" """
Browses all converter classes, initialised the repository of Browses all converter classes, initialised the repository of
converters and finds the appropriate class converters and finds the appropriate class
""" """
\ No newline at end of file
class Solver: class Solver:
pass pass
\ No newline at end of file
...@@ -242,4 +242,4 @@ class IAmount(IAmountCore, IAmountConversion, IAmountPrice, IAmountArithmetic): ...@@ -242,4 +242,4 @@ class IAmount(IAmountCore, IAmountConversion, IAmountPrice, IAmountArithmetic):
3. consider how to make Interface compatible 3. consider how to make Interface compatible
with accessor generation (ex. getResource, with accessor generation (ex. getResource,
getQuantity, etc.) getQuantity, etc.)
""" """
\ No newline at end of file
...@@ -46,4 +46,4 @@ class IArrowBase(Interface): ...@@ -46,4 +46,4 @@ class IArrowBase(Interface):
def getDestinationArrowBaseCategoryList(): def getDestinationArrowBaseCategoryList():
"""Returns all categories which are used to define the destination """Returns all categories which are used to define the destination
of this Arrow of this Arrow
""" """
\ No newline at end of file
...@@ -46,4 +46,4 @@ class IConfigurable(Interface): ...@@ -46,4 +46,4 @@ class IConfigurable(Interface):
def updateConfiguration(**kw): def updateConfiguration(**kw):
""" """
""" """
\ No newline at end of file
...@@ -46,4 +46,4 @@ class IDocumentProxy(ILegacyDocumentProxy): ...@@ -46,4 +46,4 @@ class IDocumentProxy(ILegacyDocumentProxy):
def getProxiedDocumentValue(self, **kw): def getProxiedDocumentValue(self, **kw):
""" """
Get the proxied document Get the proxied document
""" """
\ No newline at end of file
...@@ -50,4 +50,4 @@ class IExtensibleTraversable(ILegacyExtensibleTraversable): ...@@ -50,4 +50,4 @@ class IExtensibleTraversable(ILegacyExtensibleTraversable):
def getExtensibleContent(request, name): def getExtensibleContent(request, name):
""" """
Return extensible subcontent of context document during traversal. Return extensible subcontent of context document during traversal.
""" """
\ No newline at end of file
...@@ -81,4 +81,3 @@ class IMovementCollectionDiff(Interface): ...@@ -81,4 +81,3 @@ class IMovementCollectionDiff(Interface):
property_dict -- properties to update property_dict -- properties to update
""" """
\ No newline at end of file
...@@ -79,4 +79,4 @@ class IMovementGenerator(Interface): ...@@ -79,4 +79,4 @@ class IMovementGenerator(Interface):
NOTE: NOTE:
- implement rounding appropriately (True or False seems - implement rounding appropriately (True or False seems
simplistic) simplistic)
""" """
\ No newline at end of file
...@@ -67,4 +67,4 @@ class IPredicate(Interface): ...@@ -67,4 +67,4 @@ class IPredicate(Interface):
can be converted to SQL. If a python script is defined to can be converted to SQL. If a python script is defined to
implement test, results obtained through asSQLExpression implement test, results obtained through asSQLExpression
must be additionnaly tested by invoking test(). must be additionnaly tested by invoking test().
""" """
\ No newline at end of file
...@@ -80,4 +80,4 @@ class IPropertyRecordable(Interface): ...@@ -80,4 +80,4 @@ class IPropertyRecordable(Interface):
""" """
Returns current document as a temp document Returns current document as a temp document
which recorded properties in its context. which recorded properties in its context.
""" """
\ No newline at end of file
...@@ -62,4 +62,4 @@ class IReferenceable(Interface): ...@@ -62,4 +62,4 @@ class IReferenceable(Interface):
""" """
Returns all documents which content contains a reference Returns all documents which content contains a reference
to the current document. to the current document.
""" """
\ No newline at end of file
...@@ -51,4 +51,4 @@ class ISimilarityProvider(Interface): ...@@ -51,4 +51,4 @@ class ISimilarityProvider(Interface):
calculating the transitive closure of similar relation. calculating the transitive closure of similar relation.
depth -- depth the transitive closure depth -- depth the transitive closure
""" """
\ No newline at end of file
...@@ -93,4 +93,4 @@ class ISimulationMovement(IMovement, IPropertyRecordable, IDivergenceController, ...@@ -93,4 +93,4 @@ class ISimulationMovement(IMovement, IPropertyRecordable, IDivergenceController,
""" """
Returns True is this simumlation can be deleted, False Returns True is this simumlation can be deleted, False
else. else.
""" """
\ No newline at end of file
...@@ -117,4 +117,4 @@ class IUploadable(Interface): ...@@ -117,4 +117,4 @@ class IUploadable(Interface):
""" """
Returns True if content was downloaded from a URL. Returns False Returns True if content was downloaded from a URL. Returns False
if content was uploaded from a file. if content was uploaded from a file.
""" """
\ No newline at end of file
...@@ -279,4 +279,4 @@ class CachedConvertableMixin: ...@@ -279,4 +279,4 @@ class CachedConvertableMixin:
Checks if the current document can be converted Checks if the current document can be converted
into the specified target format. into the specified target format.
""" """
return format in self.getTargetFormatList() return format in self.getTargetFormatList()
\ No newline at end of file
...@@ -79,4 +79,4 @@ class CrawableMixin: ...@@ -79,4 +79,4 @@ class CrawableMixin:
""" """
method = self._getTypeBasedMethod('isUpdatable', method = self._getTypeBasedMethod('isUpdatable',
fallback_script_id = 'Document_isUpdatable') fallback_script_id = 'Document_isUpdatable')
return method() return method()
\ No newline at end of file
...@@ -67,4 +67,3 @@ class DocumentProxyMixin: ...@@ -67,4 +67,3 @@ class DocumentProxyMixin:
if proxied_document is None: if proxied_document is None:
raise DocumentProxyError("Unable to find a proxied document") raise DocumentProxyError("Unable to find a proxied document")
return proxied_document return proxied_document
\ No newline at end of file
...@@ -49,5 +49,3 @@ class VariationMixin: ...@@ -49,5 +49,3 @@ class VariationMixin:
(not of the predicate) could be handled through additional matrix (not of the predicate) could be handled through additional matrix
dimensions rather than through ad-hoc definition. dimensions rather than through ad-hoc definition.
""" """
\ No newline at end of file
...@@ -134,4 +134,4 @@ class CaptchasDotNet: ...@@ -134,4 +134,4 @@ class CaptchasDotNet:
letter_num = ord (digest[pos]) % len (password_alphabet) letter_num = ord (digest[pos]) % len (password_alphabet)
correct_password += password_alphabet[letter_num] correct_password += password_alphabet[letter_num]
return correct_password return correct_password
\ No newline at end of file
...@@ -96,4 +96,4 @@ if __name__ == "__main__": ...@@ -96,4 +96,4 @@ if __name__ == "__main__":
dom_tree = getXmlDom(xml_string) dom_tree = getXmlDom(xml_string)
writePrettyXml(dom_tree, xml_file) writePrettyXml(dom_tree, xml_file)
\ No newline at end of file
...@@ -407,4 +407,4 @@ classImplements(ERP5KeyAuthPlugin, ...@@ -407,4 +407,4 @@ classImplements(ERP5KeyAuthPlugin,
plugins.ICredentialsResetPlugin, plugins.ICredentialsResetPlugin,
plugins.ICredentialsUpdatePlugin) plugins.ICredentialsUpdatePlugin)
InitializeClass(ERP5KeyAuthPlugin) InitializeClass(ERP5KeyAuthPlugin)
\ No newline at end of file
...@@ -31,4 +31,4 @@ class SOAPConnection: ...@@ -31,4 +31,4 @@ class SOAPConnection:
""" """
Holds a SOAP connection Holds a SOAP connection
""" """
pass pass
\ No newline at end of file
...@@ -56,4 +56,4 @@ class TimeoutTransport(SafeTransport): ...@@ -56,4 +56,4 @@ class TimeoutTransport(SafeTransport):
def make_connection(self, h): def make_connection(self, h):
if self._scheme == 'http': if self._scheme == 'http':
return Transport.make_connection(self, h) return Transport.make_connection(self, h)
return SafeTransport.make_connection(self, h) return SafeTransport.make_connection(self, h)
\ No newline at end of file
...@@ -63,4 +63,4 @@ class RoleInformation: ...@@ -63,4 +63,4 @@ class RoleInformation:
' security categories', ' security categories',
'mode': 'w', 'mode': 'w',
}, },
) )
\ No newline at end of file
...@@ -42,4 +42,4 @@ class IValueAccessProvider(Interface): ...@@ -42,4 +42,4 @@ class IValueAccessProvider(Interface):
def _getValueList(id, spec=(), filter=None, portal_type=(), checked_permission=None, **kw): def _getValueList(id, spec=(), filter=None, portal_type=(), checked_permission=None, **kw):
""" """
""" """
\ No newline at end of file
...@@ -25,4 +25,4 @@ def DAVProperties_dav__resourcetype(self): ...@@ -25,4 +25,4 @@ def DAVProperties_dav__resourcetype(self):
return '<n:collection/>' return '<n:collection/>'
return '' return ''
DAVProperties.dav__resourcetype = DAVProperties_dav__resourcetype DAVProperties.dav__resourcetype = DAVProperties_dav__resourcetype
\ No newline at end of file
...@@ -302,4 +302,4 @@ def cacheWalk(top, topdown=True, onerror=None): ...@@ -302,4 +302,4 @@ def cacheWalk(top, topdown=True, onerror=None):
for elem in cacheWalk(path, topdown, onerror): for elem in cacheWalk(path, topdown, onerror):
yield elem yield elem
if not topdown: if not topdown:
yield top, dirs, nondirs yield top, dirs, nondirs
\ No newline at end of file
...@@ -310,4 +310,4 @@ def copytree(src, dst, symlinks=False): ...@@ -310,4 +310,4 @@ def copytree(src, dst, symlinks=False):
except (IOError, os.error), why: except (IOError, os.error), why:
errors.append((srcname, dstname, str(why))) errors.append((srcname, dstname, str(why)))
if errors: if errors:
raise Error, errors raise Error, errors
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment