Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Guillaume Hervier
slapos.core
Commits
9f6e6edd
Commit
9f6e6edd
authored
Oct 30, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop dead code
parent
3ee251f3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
35 deletions
+1
-35
master/bt5/vifib_web/ExtensionTemplateItem/ViFiBWeb.py
master/bt5/vifib_web/ExtensionTemplateItem/ViFiBWeb.py
+0
-6
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/ERP5Site_formatXmlWithLint.xml
...portal_skins/vifib_hosting/ERP5Site_formatXmlWithLint.xml
+0
-28
master/bt5/vifib_web/bt/revision
master/bt5/vifib_web/bt/revision
+1
-1
No files found.
master/bt5/vifib_web/ExtensionTemplateItem/ViFiBWeb.py
View file @
9f6e6edd
...
...
@@ -25,7 +25,6 @@
#
##############################################################################
import
subprocess
import
facebook
from
Products.ERP5Type.Cache
import
DEFAULT_CACHE_SCOPE
import
httplib
...
...
@@ -39,11 +38,6 @@ import socket
from
Products.ERP5Security.ERP5UserManager
import
getUserByLogin
from
Products.ERP5Type.UnrestrictedMethod
import
UnrestrictedMethod
def
formatXml
(
self
,
xml
):
"""Simple way to have nicely formatted XML"""
popen
=
subprocess
.
Popen
([
'xmllint'
,
'--format'
,
'--recover'
,
'-'
],
stdin
=
subprocess
.
PIPE
,
stdout
=
subprocess
.
PIPE
)
return
popen
.
communicate
(
xml
)[
0
]
# common methods
def
_getCacheFactory
(
self
,
cache_factory_name
):
portal
=
self
.
getPortalObject
()
...
...
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/ERP5Site_formatXmlWithLint.xml
deleted
100644 → 0
View file @
3ee251f3
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ExternalMethod"
module=
"Products.ExternalMethod.ExternalMethod"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_function
</string>
</key>
<value>
<string>
formatXml
</string>
</value>
</item>
<item>
<key>
<string>
_module
</string>
</key>
<value>
<string>
ViFiBWeb
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Site_formatXmlWithLint
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_web/bt/revision
View file @
9f6e6edd
487
\ No newline at end of file
488
\ No newline at end of file
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