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
Hamza
erp5
Commits
764a0d97
Commit
764a0d97
authored
Jun 24, 2013
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix unused import & variables
parent
0d7f069a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
7 deletions
+3
-7
product/ERP5SyncML/Document/SyncMLSignature.py
product/ERP5SyncML/Document/SyncMLSignature.py
+1
-2
product/ERP5SyncML/Engine/AsynchronousEngine.py
product/ERP5SyncML/Engine/AsynchronousEngine.py
+2
-2
product/ERP5Type/Utils.py
product/ERP5Type/Utils.py
+0
-2
product/ERP5Type/dynamic/component_package.py
product/ERP5Type/dynamic/component_package.py
+0
-1
No files found.
product/ERP5SyncML/Document/SyncMLSignature.py
View file @
764a0d97
...
...
@@ -31,11 +31,11 @@ from hashlib import md5
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type.Accessor.Constant
import
PropertyGetter
as
ConstantGetter
from
Products.ERP5Type.XMLObject
import
XMLObject
from
Products.ERP5Type
import
Permissions
from
Products.ERP5Type
import
PropertySheet
from
Products.ERP5SyncML.Utils
import
PdataHelper
from
Products.ERP5Type.Accessor.Constant
import
PropertyGetter
as
ConstantGetter
_MARKER
=
[]
...
...
@@ -50,7 +50,6 @@ class SyncMLSignature(XMLObject):
"""
meta_type
=
'ERP5 Signature'
portal_type
=
'SyncML Signature'
isIndexable
=
ConstantGetter
(
'isIndexable'
,
value
=
False
)
security
=
ClassSecurityInfo
()
...
...
product/ERP5SyncML/Engine/AsynchronousEngine.py
View file @
764a0d97
...
...
@@ -65,7 +65,7 @@ class SyncMLAsynchronousEngine(EngineMixin):
subscription
.
sendModifications
()
# Worfklow action
syncml_response
=
None
tag
=
subscription
_path
=
subscription
.
getRelativeUrl
()
tag
=
subscription
.
getRelativeUrl
()
# Do action according to synchronization state
if
subscription
.
getSynchronizationState
()
==
"initializing"
:
...
...
@@ -257,7 +257,7 @@ class SyncMLAsynchronousEngine(EngineMixin):
'subscription_path'
:
subscription
.
getRelativeUrl
(),
}
pref
=
getSite
().
portal_preferences
count
=
subscription
.
getAndActivate
(
subscription
.
getAndActivate
(
callback
=
"sendSyncCommand"
,
method_kw
=
method_kw
,
activate_kw
=
activate_kw
,
...
...
product/ERP5Type/Utils.py
View file @
764a0d97
...
...
@@ -854,14 +854,12 @@ def setDefaultClassProperties(property_holder):
)
}
from
Globals
import
Persistent
,
PersistentMapping
def
importLocalDocument
(
class_id
,
path
=
None
,
class_path
=
None
):
"""Imports a document class and registers it in ERP5Type Document
repository ( Products.ERP5Type.Document )
"""
import
Products.ERP5Type.Document
import
Permissions
if
class_path
:
assert
path
is
None
...
...
product/ERP5Type/dynamic/component_package.py
View file @
764a0d97
...
...
@@ -31,7 +31,6 @@
from
__future__
import
absolute_import
import
sys
import
threading
from
Products.ERP5.ERP5Site
import
getSite
from
Products.ERP5Type.Base
import
Base
...
...
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