From a01512e53ad6c0e56996d2bfcc5262eb244fdb29 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Thu, 14 Oct 2010 15:49:44 +0000 Subject: [PATCH] add newline at end of file. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39189 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/Gadget.py | 2 +- product/ERP5/Extensions/CheckSkins.py | 2 +- product/ERP5/Extensions/RecodeAllDocuments.py | 2 +- product/ERP5/Tool/ConversionTool.py | 2 +- product/ERP5/ancient/Simulation/Solver.py | 3 +-- product/ERP5/interfaces/amount.py | 2 +- product/ERP5/interfaces/arrow_base.py | 2 +- product/ERP5/interfaces/configurable.py | 2 +- product/ERP5/interfaces/document_proxy.py | 2 +- product/ERP5/interfaces/extensible_traversable.py | 2 +- product/ERP5/interfaces/movement_collection_diff.py | 1 - product/ERP5/interfaces/movement_generator.py | 2 +- product/ERP5/interfaces/predicate.py | 2 +- product/ERP5/interfaces/property_recordable.py | 2 +- product/ERP5/interfaces/referenceable.py | 2 +- product/ERP5/interfaces/similarity_provider.py | 2 +- product/ERP5/interfaces/simulation_movement.py | 2 +- product/ERP5/interfaces/uploadable.py | 2 +- product/ERP5/mixin/cached_convertable.py | 2 +- product/ERP5/mixin/crawable.py | 2 +- product/ERP5/mixin/document_proxy.py | 1 - product/ERP5/mixin/variation.py | 2 -- product/ERP5Form/CaptchasDotNet.py | 2 +- product/ERP5OOo/scripts/xml_beautifier.py | 2 +- product/ERP5Security/ERP5KeyAuthPlugin.py | 2 +- product/ERP5Type/ConnectionPlugin/SOAPConnection.py | 2 +- product/ERP5Type/ConnectionPlugin/TimeoutTransport.py | 2 +- product/ERP5Type/PropertySheet/RoleInformation.py | 2 +- product/ERP5Type/interfaces/value_access_provider.py | 2 +- product/ERP5Type/patches/PropertySheets.py | 2 +- product/ERP5Type/patches/cacheWalk.py | 2 +- product/ERP5Type/patches/copyTree.py | 2 +- 32 files changed, 29 insertions(+), 34 deletions(-) diff --git a/product/ERP5/Document/Gadget.py b/product/ERP5/Document/Gadget.py index 433b6606bb..2f27f899e1 100644 --- a/product/ERP5/Document/Gadget.py +++ b/product/ERP5/Document/Gadget.py @@ -44,4 +44,4 @@ class Gadget(XMLObject): , PropertySheet.DublinCore , PropertySheet.DefaultImage , PropertySheet.Gadget - ) \ No newline at end of file + ) diff --git a/product/ERP5/Extensions/CheckSkins.py b/product/ERP5/Extensions/CheckSkins.py index c6157a1fd9..2eb8ba35dd 100644 --- a/product/ERP5/Extensions/CheckSkins.py +++ b/product/ERP5/Extensions/CheckSkins.py @@ -396,4 +396,4 @@ def fixSkinNames(self, REQUEST=None, file=None, dry_run=0): LOG('fixSkinNames', 0, line) msg += '%s\n' % line - return msg \ No newline at end of file + return msg diff --git a/product/ERP5/Extensions/RecodeAllDocuments.py b/product/ERP5/Extensions/RecodeAllDocuments.py index c2fe01d848..4d89d59e67 100644 --- a/product/ERP5/Extensions/RecodeAllDocuments.py +++ b/product/ERP5/Extensions/RecodeAllDocuments.py @@ -67,4 +67,4 @@ def recodeAllDocuments(self, REQUEST=None, dry_run=0): for category in portal.portal_categories.objectValues('ERP5 Base Category'): message += '# Checking the category %s\n' % category.getId() recodeDocumentRecursively(category, dry_run=dry_run) - return message \ No newline at end of file + return message diff --git a/product/ERP5/Tool/ConversionTool.py b/product/ERP5/Tool/ConversionTool.py index 94ddc13c47..fb36be41d2 100644 --- a/product/ERP5/Tool/ConversionTool.py +++ b/product/ERP5/Tool/ConversionTool.py @@ -180,4 +180,4 @@ class ConversionTool(BaseTool): """ Browses all converter classes, initialised the repository of converters and finds the appropriate class - """ \ No newline at end of file + """ diff --git a/product/ERP5/ancient/Simulation/Solver.py b/product/ERP5/ancient/Simulation/Solver.py index febdde1e39..10efead56b 100644 --- a/product/ERP5/ancient/Simulation/Solver.py +++ b/product/ERP5/ancient/Simulation/Solver.py @@ -1,3 +1,2 @@ - class Solver: - pass \ No newline at end of file + pass diff --git a/product/ERP5/interfaces/amount.py b/product/ERP5/interfaces/amount.py index e710a9fb2f..1429ca9607 100644 --- a/product/ERP5/interfaces/amount.py +++ b/product/ERP5/interfaces/amount.py @@ -242,4 +242,4 @@ class IAmount(IAmountCore, IAmountConversion, IAmountPrice, IAmountArithmetic): 3. consider how to make Interface compatible with accessor generation (ex. getResource, getQuantity, etc.) - """ \ No newline at end of file + """ diff --git a/product/ERP5/interfaces/arrow_base.py b/product/ERP5/interfaces/arrow_base.py index bd2555ed33..d65599f111 100644 --- a/product/ERP5/interfaces/arrow_base.py +++ b/product/ERP5/interfaces/arrow_base.py @@ -46,4 +46,4 @@ class IArrowBase(Interface): def getDestinationArrowBaseCategoryList(): """Returns all categories which are used to define the destination of this Arrow - """ \ No newline at end of file + """ diff --git a/product/ERP5/interfaces/configurable.py b/product/ERP5/interfaces/configurable.py index 67047342b1..85cdad848a 100644 --- a/product/ERP5/interfaces/configurable.py +++ b/product/ERP5/interfaces/configurable.py @@ -46,4 +46,4 @@ class IConfigurable(Interface): def updateConfiguration(**kw): """ - """ \ No newline at end of file + """ diff --git a/product/ERP5/interfaces/document_proxy.py b/product/ERP5/interfaces/document_proxy.py index 7da5dc20f9..4348732c3f 100644 --- a/product/ERP5/interfaces/document_proxy.py +++ b/product/ERP5/interfaces/document_proxy.py @@ -46,4 +46,4 @@ class IDocumentProxy(ILegacyDocumentProxy): def getProxiedDocumentValue(self, **kw): """ Get the proxied document - """ \ No newline at end of file + """ diff --git a/product/ERP5/interfaces/extensible_traversable.py b/product/ERP5/interfaces/extensible_traversable.py index 2afc8ac970..d72f8f773c 100644 --- a/product/ERP5/interfaces/extensible_traversable.py +++ b/product/ERP5/interfaces/extensible_traversable.py @@ -50,4 +50,4 @@ class IExtensibleTraversable(ILegacyExtensibleTraversable): def getExtensibleContent(request, name): """ Return extensible subcontent of context document during traversal. - """ \ No newline at end of file + """ diff --git a/product/ERP5/interfaces/movement_collection_diff.py b/product/ERP5/interfaces/movement_collection_diff.py index 04f7ef7a9b..e3a187b035 100644 --- a/product/ERP5/interfaces/movement_collection_diff.py +++ b/product/ERP5/interfaces/movement_collection_diff.py @@ -81,4 +81,3 @@ class IMovementCollectionDiff(Interface): property_dict -- properties to update """ - \ No newline at end of file diff --git a/product/ERP5/interfaces/movement_generator.py b/product/ERP5/interfaces/movement_generator.py index fa29fc539b..404a6b5a5e 100644 --- a/product/ERP5/interfaces/movement_generator.py +++ b/product/ERP5/interfaces/movement_generator.py @@ -79,4 +79,4 @@ class IMovementGenerator(Interface): NOTE: - implement rounding appropriately (True or False seems simplistic) - """ \ No newline at end of file + """ diff --git a/product/ERP5/interfaces/predicate.py b/product/ERP5/interfaces/predicate.py index 21ee728155..07082f8a4d 100644 --- a/product/ERP5/interfaces/predicate.py +++ b/product/ERP5/interfaces/predicate.py @@ -67,4 +67,4 @@ class IPredicate(Interface): can be converted to SQL. If a python script is defined to implement test, results obtained through asSQLExpression must be additionnaly tested by invoking test(). - """ \ No newline at end of file + """ diff --git a/product/ERP5/interfaces/property_recordable.py b/product/ERP5/interfaces/property_recordable.py index 51d3042fb8..ad6d91061e 100644 --- a/product/ERP5/interfaces/property_recordable.py +++ b/product/ERP5/interfaces/property_recordable.py @@ -80,4 +80,4 @@ class IPropertyRecordable(Interface): """ Returns current document as a temp document which recorded properties in its context. - """ \ No newline at end of file + """ diff --git a/product/ERP5/interfaces/referenceable.py b/product/ERP5/interfaces/referenceable.py index 1b6522561f..3786c595f4 100644 --- a/product/ERP5/interfaces/referenceable.py +++ b/product/ERP5/interfaces/referenceable.py @@ -62,4 +62,4 @@ class IReferenceable(Interface): """ Returns all documents which content contains a reference to the current document. - """ \ No newline at end of file + """ diff --git a/product/ERP5/interfaces/similarity_provider.py b/product/ERP5/interfaces/similarity_provider.py index 564df67413..71a6eafc87 100644 --- a/product/ERP5/interfaces/similarity_provider.py +++ b/product/ERP5/interfaces/similarity_provider.py @@ -51,4 +51,4 @@ class ISimilarityProvider(Interface): calculating the transitive closure of similar relation. depth -- depth the transitive closure - """ \ No newline at end of file + """ diff --git a/product/ERP5/interfaces/simulation_movement.py b/product/ERP5/interfaces/simulation_movement.py index 7d83b3a5eb..4cb03f66e4 100644 --- a/product/ERP5/interfaces/simulation_movement.py +++ b/product/ERP5/interfaces/simulation_movement.py @@ -93,4 +93,4 @@ class ISimulationMovement(IMovement, IPropertyRecordable, IDivergenceController, """ Returns True is this simumlation can be deleted, False else. - """ \ No newline at end of file + """ diff --git a/product/ERP5/interfaces/uploadable.py b/product/ERP5/interfaces/uploadable.py index 0c7f463dae..978dc5a750 100644 --- a/product/ERP5/interfaces/uploadable.py +++ b/product/ERP5/interfaces/uploadable.py @@ -117,4 +117,4 @@ class IUploadable(Interface): """ Returns True if content was downloaded from a URL. Returns False if content was uploaded from a file. - """ \ No newline at end of file + """ diff --git a/product/ERP5/mixin/cached_convertable.py b/product/ERP5/mixin/cached_convertable.py index 1ccc81c144..914cd780fd 100644 --- a/product/ERP5/mixin/cached_convertable.py +++ b/product/ERP5/mixin/cached_convertable.py @@ -279,4 +279,4 @@ class CachedConvertableMixin: Checks if the current document can be converted into the specified target format. """ - return format in self.getTargetFormatList() \ No newline at end of file + return format in self.getTargetFormatList() diff --git a/product/ERP5/mixin/crawable.py b/product/ERP5/mixin/crawable.py index 2b010b99a5..6c5ec87779 100644 --- a/product/ERP5/mixin/crawable.py +++ b/product/ERP5/mixin/crawable.py @@ -79,4 +79,4 @@ class CrawableMixin: """ method = self._getTypeBasedMethod('isUpdatable', fallback_script_id = 'Document_isUpdatable') - return method() \ No newline at end of file + return method() diff --git a/product/ERP5/mixin/document_proxy.py b/product/ERP5/mixin/document_proxy.py index f147c5632e..a21d00b9ad 100644 --- a/product/ERP5/mixin/document_proxy.py +++ b/product/ERP5/mixin/document_proxy.py @@ -67,4 +67,3 @@ class DocumentProxyMixin: if proxied_document is None: raise DocumentProxyError("Unable to find a proxied document") return proxied_document - \ No newline at end of file diff --git a/product/ERP5/mixin/variation.py b/product/ERP5/mixin/variation.py index 70306dff68..c8fcd35f11 100644 --- a/product/ERP5/mixin/variation.py +++ b/product/ERP5/mixin/variation.py @@ -49,5 +49,3 @@ class VariationMixin: (not of the predicate) could be handled through additional matrix dimensions rather than through ad-hoc definition. """ - - \ No newline at end of file diff --git a/product/ERP5Form/CaptchasDotNet.py b/product/ERP5Form/CaptchasDotNet.py index 6e2c060be4..027ca8f482 100644 --- a/product/ERP5Form/CaptchasDotNet.py +++ b/product/ERP5Form/CaptchasDotNet.py @@ -134,4 +134,4 @@ class CaptchasDotNet: letter_num = ord (digest[pos]) % len (password_alphabet) correct_password += password_alphabet[letter_num] - return correct_password \ No newline at end of file + return correct_password diff --git a/product/ERP5OOo/scripts/xml_beautifier.py b/product/ERP5OOo/scripts/xml_beautifier.py index 2c59d07df7..581cd8842c 100644 --- a/product/ERP5OOo/scripts/xml_beautifier.py +++ b/product/ERP5OOo/scripts/xml_beautifier.py @@ -96,4 +96,4 @@ if __name__ == "__main__": dom_tree = getXmlDom(xml_string) - writePrettyXml(dom_tree, xml_file) \ No newline at end of file + writePrettyXml(dom_tree, xml_file) diff --git a/product/ERP5Security/ERP5KeyAuthPlugin.py b/product/ERP5Security/ERP5KeyAuthPlugin.py index 0a7c167dc3..d5e025ecd3 100644 --- a/product/ERP5Security/ERP5KeyAuthPlugin.py +++ b/product/ERP5Security/ERP5KeyAuthPlugin.py @@ -407,4 +407,4 @@ classImplements(ERP5KeyAuthPlugin, plugins.ICredentialsResetPlugin, plugins.ICredentialsUpdatePlugin) -InitializeClass(ERP5KeyAuthPlugin) \ No newline at end of file +InitializeClass(ERP5KeyAuthPlugin) diff --git a/product/ERP5Type/ConnectionPlugin/SOAPConnection.py b/product/ERP5Type/ConnectionPlugin/SOAPConnection.py index 1a8d1cc40f..1eddaa423f 100644 --- a/product/ERP5Type/ConnectionPlugin/SOAPConnection.py +++ b/product/ERP5Type/ConnectionPlugin/SOAPConnection.py @@ -31,4 +31,4 @@ class SOAPConnection: """ Holds a SOAP connection """ - pass \ No newline at end of file + pass diff --git a/product/ERP5Type/ConnectionPlugin/TimeoutTransport.py b/product/ERP5Type/ConnectionPlugin/TimeoutTransport.py index 6568531556..07ade91787 100644 --- a/product/ERP5Type/ConnectionPlugin/TimeoutTransport.py +++ b/product/ERP5Type/ConnectionPlugin/TimeoutTransport.py @@ -56,4 +56,4 @@ class TimeoutTransport(SafeTransport): def make_connection(self, h): if self._scheme == 'http': return Transport.make_connection(self, h) - return SafeTransport.make_connection(self, h) \ No newline at end of file + return SafeTransport.make_connection(self, h) diff --git a/product/ERP5Type/PropertySheet/RoleInformation.py b/product/ERP5Type/PropertySheet/RoleInformation.py index 9c67e20500..c5dedf600a 100644 --- a/product/ERP5Type/PropertySheet/RoleInformation.py +++ b/product/ERP5Type/PropertySheet/RoleInformation.py @@ -63,4 +63,4 @@ class RoleInformation: ' security categories', 'mode': 'w', }, - ) \ No newline at end of file + ) diff --git a/product/ERP5Type/interfaces/value_access_provider.py b/product/ERP5Type/interfaces/value_access_provider.py index 52f74ff961..0cd531177b 100644 --- a/product/ERP5Type/interfaces/value_access_provider.py +++ b/product/ERP5Type/interfaces/value_access_provider.py @@ -42,4 +42,4 @@ class IValueAccessProvider(Interface): def _getValueList(id, spec=(), filter=None, portal_type=(), checked_permission=None, **kw): """ - """ \ No newline at end of file + """ diff --git a/product/ERP5Type/patches/PropertySheets.py b/product/ERP5Type/patches/PropertySheets.py index 2784adf284..f14ea8507c 100644 --- a/product/ERP5Type/patches/PropertySheets.py +++ b/product/ERP5Type/patches/PropertySheets.py @@ -25,4 +25,4 @@ def DAVProperties_dav__resourcetype(self): return '<n:collection/>' return '' -DAVProperties.dav__resourcetype = DAVProperties_dav__resourcetype \ No newline at end of file +DAVProperties.dav__resourcetype = DAVProperties_dav__resourcetype diff --git a/product/ERP5Type/patches/cacheWalk.py b/product/ERP5Type/patches/cacheWalk.py index 67ab9e2611..869167f04f 100644 --- a/product/ERP5Type/patches/cacheWalk.py +++ b/product/ERP5Type/patches/cacheWalk.py @@ -302,4 +302,4 @@ def cacheWalk(top, topdown=True, onerror=None): for elem in cacheWalk(path, topdown, onerror): yield elem if not topdown: - yield top, dirs, nondirs \ No newline at end of file + yield top, dirs, nondirs diff --git a/product/ERP5Type/patches/copyTree.py b/product/ERP5Type/patches/copyTree.py index ed611d574f..5295e4aadd 100644 --- a/product/ERP5Type/patches/copyTree.py +++ b/product/ERP5Type/patches/copyTree.py @@ -310,4 +310,4 @@ def copytree(src, dst, symlinks=False): except (IOError, os.error), why: errors.append((srcname, dstname, str(why))) if errors: - raise Error, errors \ No newline at end of file + raise Error, errors -- 2.30.9