Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5diff
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
erp5diff
Commits
46f1122e
Commit
46f1122e
authored
Oct 05, 2007
by
Nicolas Delaby
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Catch only ImportError Exception
parent
59c51f0d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ERP5Diff.py
ERP5Diff.py
+1
-1
No files found.
ERP5Diff.py
View file @
46f1122e
...
@@ -27,7 +27,7 @@ try:
...
@@ -27,7 +27,7 @@ try:
from
Ft.Xml.Domlette
import
implementation
from
Ft.Xml.Domlette
import
implementation
def
getDOMImplementation
():
def
getDOMImplementation
():
return
implementation
return
implementation
except
:
except
ImportError
:
from
xml.dom.minidom
import
parse
,
parseString
from
xml.dom.minidom
import
parse
,
parseString
from
xml.dom.minidom
import
getDOMImplementation
from
xml.dom.minidom
import
getDOMImplementation
from
xml.dom.ext
import
PrettyPrint
from
xml.dom.ext
import
PrettyPrint
...
...
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