diff options
author | Christian Heimes <cheimes@redhat.com> | 2018-09-26 11:59:50 +0200 |
---|---|---|
committer | Christian Heimes <cheimes@redhat.com> | 2018-09-27 11:49:04 +0200 |
commit | b431e9b684df11c811892bd9d2a5711355f0076e (patch) | |
tree | 77a831532933ea9c289529e1974300c7be276a18 /ipapython/graph.py | |
parent | 4a58adf79e8b6b1dfbd534f16bcec368a189131e (diff) | |
download | freeipa-b431e9b684df11c811892bd9d2a5711355f0076e.tar.gz freeipa-b431e9b684df11c811892bd9d2a5711355f0076e.tar.xz freeipa-b431e9b684df11c811892bd9d2a5711355f0076e.zip |
Py3: Remove subclassing from object
Python 2 had old style and new style classes. Python 3 has only new
style classes. There is no point to subclass from object any more.
See: https://pagure.io/freeipa/issue/7715
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
Diffstat (limited to 'ipapython/graph.py')
-rw-r--r-- | ipapython/graph.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipapython/graph.py b/ipapython/graph.py index 90c8b34c9..11c2a088c 100644 --- a/ipapython/graph.py +++ b/ipapython/graph.py @@ -4,7 +4,7 @@ from collections import deque -class Graph(object): +class Graph: """ Simple oriented graph structure |