Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
068ef0e9
Commit
068ef0e9
authored
Nov 22, 2012
by
Jan-Piet Mens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
module_formatter: re-instate code
parent
8e515c0c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
hacking/module_formatter.py
+1
-2
library/file
+1
-1
No files found.
hacking/module_formatter.py
View file @
068ef0e9
...
...
@@ -66,8 +66,7 @@ def html_ify(text):
t
=
_BOLD
.
sub
(
"<b>"
+
r"\1"
+
"</b>"
,
t
)
t
=
_MODULE
.
sub
(
"<span class='module'>"
+
r"\1"
+
"</span>"
,
t
)
t
=
_URL
.
sub
(
"<a href='"
+
r"\1"
+
"'>"
+
r"\1"
+
"</a>"
,
t
)
#t = _CONST.sub("<code>" + r"\1" + "</code>", t)
t
=
_CONST
.
sub
(
r"\1"
,
t
)
t
=
_CONST
.
sub
(
"<code>"
+
r"\1"
+
"</code>"
,
t
)
return
t
def
json_ify
(
text
):
...
...
library/file
View file @
068ef0e9
...
...
@@ -35,7 +35,7 @@ short_description: Sets attributes of files
description:
- Sets attributes of files, symlinks, and directories, or removes
files/symlinks/directories. Many other modules support the same options as
the
file
module - including M(copy), M(template), and M(assemble).
the
M(file)
module - including M(copy), M(template), and M(assemble).
options:
path:
description:
...
...
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