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
2c39576e
Commit
2c39576e
authored
Jan 16, 2014
by
James Tanner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused variable from authorized_key
parent
1f1fa6c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
library/system/authorized_key
+0
-3
No files found.
library/system/authorized_key
View file @
2c39576e
...
...
@@ -198,7 +198,6 @@ def parseoptions(module, options):
and returns a dictionary of those options
'''
options_dict
=
keydict
()
#ordered dict
key_order
=
[]
if
options
:
token_exp
=
[
# matches separator
...
...
@@ -220,10 +219,8 @@ def parseoptions(module, options):
if
is_valid_option
:
if
len
(
match
.
groups
())
==
2
:
options_dict
[
match
.
group
(
1
)]
=
match
.
group
(
2
)
key_order
.
append
(
match
.
group
(
1
))
else
:
options_dict
[
text
]
=
None
key_order
.
append
(
text
)
break
if
not
match
:
module
.
fail_json
(
msg
=
"invalid option string:
%
s"
%
options
)
...
...
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