Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hugo Ricateau
erp5
Commits
510ec8f0
Commit
510ec8f0
authored
Oct 20, 2017
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Type.Core.Folder: Reduce the empty line nonsense.
parent
4eaea434
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
product/ERP5Type/Core/Folder.py
product/ERP5Type/Core/Folder.py
+0
-15
No files found.
product/ERP5Type/Core/Folder.py
View file @
510ec8f0
...
...
@@ -36,11 +36,9 @@ from OFS.ObjectManager import ObjectManager, checkValidId
from
zExceptions
import
BadRequest
from
OFS.History
import
Historical
import
ExtensionClass
from
Products.CMFCore.exceptions
import
AccessControl_Unauthorized
from
Products.CMFCore.CMFCatalogAware
import
CMFCatalogAware
from
Products.CMFCore.PortalFolder
import
ContentFilter
from
Products.ERP5Type.Base
import
Base
from
Products.ERP5Type.ConsistencyMessage
import
ConsistencyMessage
from
Products.ERP5Type.CopySupport
import
CopyContainer
...
...
@@ -50,20 +48,16 @@ from Products.ERP5Type.Utils import sortValueList
from
Products.ERP5Type
import
Permissions
from
Products.ERP5Type.Globals
import
InitializeClass
from
Products.ERP5Type.Accessor
import
Base
as
BaseAccessor
try
:
from
Products.CMFCore.CMFBTreeFolder
import
CMFBTreeFolder
except
ImportError
:
from
Products.BTreeFolder2.CMFBTreeFolder
import
CMFBTreeFolder
from
Products.BTreeFolder2.BTreeFolder2
import
BTreeFolder2Base
,
BTreeFolder2
try
:
from
Products.HBTreeFolder2.CMFHBTreeFolder
import
CMFHBTreeFolder
from
Products.HBTreeFolder2.HBTreeFolder2
import
HBTreeFolder2Base
from
Products.HBTreeFolder2.HBTreeFolder2
import
HBTreeFolder2
except
ImportError
:
class
CMFHBTreeFolder
:
pass
...
...
@@ -72,24 +66,15 @@ except ImportError:
class
HBTreeFolder2
:
pass
from
DateTime
import
DateTime
from
random
import
randint
import
os
from
zLOG
import
LOG
,
WARNING
import
warnings
from
urlparse
import
urlparse
REINDEX_SPLIT_COUNT
=
100
# if folder containes more than this, reindexing should be splitted.
from
Products.ERP5Type.Message
import
translateString
# from Products.BTreeFolder2.BTreeFolder2 import _marker as BTreeMarker
# from Products.HBTreeFolder2.HBTreeFolder2 import _marker as HBTreeMarker
# Dummy Functions for update / upgrade
def
dummyFilter
(
object
,
REQUEST
=
None
):
return
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment