summaryrefslogtreecommitdiffstats
path: root/ipapython/graph.py
diff options
context:
space:
mode:
authorChristian Heimes <cheimes@redhat.com>2018-09-26 11:59:50 +0200
committerChristian Heimes <cheimes@redhat.com>2018-09-27 11:49:04 +0200
commitb431e9b684df11c811892bd9d2a5711355f0076e (patch)
tree77a831532933ea9c289529e1974300c7be276a18 /ipapython/graph.py
parent4a58adf79e8b6b1dfbd534f16bcec368a189131e (diff)
downloadfreeipa-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.py2
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