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
eafa718b
Commit
eafa718b
authored
Oct 15, 2014
by
Toshio Kuratomi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove inherit from object as it's no longer needed to determine new-style classes
parent
acf4bc95
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
14 additions
and
14 deletions
+14
-14
v2/ansible/executor/HostLog.py
+1
-1
v2/ansible/executor/HostPlaybookIterator.py
+1
-1
v2/ansible/executor/PlaybookExecutor.py
+1
-1
v2/ansible/executor/TaskExecutor.py
+1
-1
v2/ansible/executor/TaskQueueManager.py
+1
-1
v2/ansible/inventory/__init__.py
+1
-1
v2/ansible/parsing/mod_args.py
+1
-1
v2/ansible/parsing/yaml/objects.py
+1
-1
v2/ansible/playbook/__init__.py
+1
-1
v2/ansible/playbook/attribute.py
+1
-1
v2/ansible/playbook/base.py
+1
-1
v2/ansible/playbook/conditional.py
+1
-1
v2/ansible/playbook/tag.py
+1
-1
v2/ansible/plugins/__init__.py
+1
-1
No files found.
v2/ansible/executor/HostLog.py
View file @
eafa718b
...
...
@@ -19,7 +19,7 @@
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
class
HostLog
(
object
)
:
class
HostLog
:
def
__init__
(
self
,
host
):
self
.
host
=
host
...
...
v2/ansible/executor/HostPlaybookIterator.py
View file @
eafa718b
...
...
@@ -19,7 +19,7 @@
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
class
HostPlaybookIterator
(
object
)
:
class
HostPlaybookIterator
:
def
__init__
(
self
,
host
,
playbook
):
pass
...
...
v2/ansible/executor/PlaybookExecutor.py
View file @
eafa718b
...
...
@@ -19,7 +19,7 @@
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
class
PlaybookExecutor
(
object
)
:
class
PlaybookExecutor
:
def
__init__
(
self
,
list_of_plays
=
[]):
# self.tqm = TaskQueueManager(forks)
...
...
v2/ansible/executor/TaskExecutor.py
View file @
eafa718b
...
...
@@ -19,7 +19,7 @@
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
class
TaskExecutor
(
object
)
:
class
TaskExecutor
:
def
__init__
(
self
,
task
,
host
):
pass
...
...
v2/ansible/executor/TaskQueueManager.py
View file @
eafa718b
...
...
@@ -19,7 +19,7 @@
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
class
TaskQueueManagerHostPlaybookIterator
(
object
)
:
class
TaskQueueManagerHostPlaybookIterator
:
def
__init__
(
self
,
host
,
playbook
):
pass
...
...
v2/ansible/inventory/__init__.py
View file @
eafa718b
...
...
@@ -21,7 +21,7 @@
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
class
Inventory
(
object
)
:
class
Inventory
:
def
__init__
(
self
,
host_list
=
C
.
DEFAULT_HOST_LIST
,
vault_password
=
None
):
pass
def
get_hosts
(
self
,
pattern
=
"all"
):
...
...
v2/ansible/parsing/mod_args.py
View file @
eafa718b
...
...
@@ -25,7 +25,7 @@ from ansible.errors import AnsibleParserError
from
ansible.plugins
import
module_finder
from
ansible.parsing.splitter
import
parse_kv
class
ModuleArgsParser
(
object
)
:
class
ModuleArgsParser
:
"""
There are several ways a module and argument set can be expressed:
...
...
v2/ansible/parsing/yaml/objects.py
View file @
eafa718b
...
...
@@ -19,7 +19,7 @@
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
class
AnsibleBaseYAMLObject
(
object
)
:
class
AnsibleBaseYAMLObject
:
'''
the base class used to sub-class python built-in objects
so that we can add attributes to them during yaml parsing
...
...
v2/ansible/playbook/__init__.py
View file @
eafa718b
...
...
@@ -19,7 +19,7 @@
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
class
Playbook
(
object
)
:
class
Playbook
:
def
__init__
(
self
,
filename
):
self
.
ds
=
v2
.
utils
.
load_yaml_from_file
(
filename
)
self
.
plays
=
[]
...
...
v2/ansible/playbook/attribute.py
View file @
eafa718b
...
...
@@ -21,7 +21,7 @@ __metaclass__ = type
#from ansible.common.errors import AnsibleError
class
Attribute
(
object
)
:
class
Attribute
:
def
__init__
(
self
,
isa
=
None
,
private
=
False
,
default
=
None
):
...
...
v2/ansible/playbook/base.py
View file @
eafa718b
...
...
@@ -26,7 +26,7 @@ from six import iteritems, string_types
from
ansible.playbook.attribute
import
Attribute
,
FieldAttribute
from
ansible.parsing
import
load
as
ds_load
class
Base
(
object
)
:
class
Base
:
def
__init__
(
self
):
...
...
v2/ansible/playbook/conditional.py
View file @
eafa718b
...
...
@@ -19,7 +19,7 @@
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
class
Conditional
(
object
)
:
class
Conditional
:
def
__init__
(
self
,
task
):
self
.
_task
=
task
...
...
v2/ansible/playbook/tag.py
View file @
eafa718b
...
...
@@ -22,7 +22,7 @@ __metaclass__ = type
from
errors
import
AnsibleError
from
ansible.utils
import
list_union
class
Tag
(
object
)
:
class
Tag
:
def
__init__
(
self
,
tags
=
[]):
assert
isinstance
(
tags
,
list
)
self
.
_tags
=
tags
...
...
v2/ansible/plugins/__init__.py
View file @
eafa718b
...
...
@@ -39,7 +39,7 @@ def push_basedir(basedir):
if
basedir
not
in
_basedirs
:
_basedirs
.
insert
(
0
,
basedir
)
class
PluginLoader
(
object
)
:
class
PluginLoader
:
'''
PluginLoader loads plugins from the configured plugin directories.
...
...
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