Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
42ca861e
Commit
42ca861e
authored
May 04, 2016
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testTemplateTool: fix regexp of SVN title.
now it is like "<title>public - Revions 12345: /path</title>".
parent
3bf05d59
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
product/ERP5/Tool/TemplateTool.py
product/ERP5/Tool/TemplateTool.py
+1
-1
No files found.
product/ERP5/Tool/TemplateTool.py
View file @
42ca861e
...
...
@@ -333,7 +333,7 @@ class TemplateTool (BaseTool):
try
:
os
.
close
(
tempid
)
# Close the opened fd as soon as possible.
file_path
,
headers
=
urlretrieve
(
url
,
temppath
)
if
re
.
search
(
r'<title>Revision \
d+:
', open(file_path, 'r').read()):
if
re
.
search
(
r'<title>
.*
Revision \
d+:
', open(file_path, 'r').read()):
# this looks like a subversion repository, try to check it out
LOG('
ERP5
', INFO, '
TemplateTool
doing
a
svn
checkout
of
%
s
' % url)
return self._download_svn(url, bt_id)
...
...
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