changeset 4846:38ce7fe4d3f2

cmdstate: switch to new-style classes This isn't a huge issue and isn't necessary on Python3, but we're still Python2 compatible and we should be consistent (and strongly prefer new-style classes); this is the only class that is not deriving from object that I could find.
author Kyle Lippincott <spectral@google.com>
date Mon, 16 Sep 2019 12:42:11 -0700
parents 6f5d3f58fbe4
children 0fecff9ac36d
files hgext3rd/evolve/state.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/state.py	Tue Sep 24 12:42:27 2019 +0200
+++ b/hgext3rd/evolve/state.py	Mon Sep 16 12:42:11 2019 -0700
@@ -27,7 +27,7 @@
 
 from mercurial.i18n import _
 
-class cmdstate():
+class cmdstate(object):
     """a wrapper class to store the state of commands like `evolve`, `pick`
 
     All the data for the state is stored in the form of key-value pairs in a