cmdstate: switch to new-style classes
authorKyle Lippincott <spectral@google.com>
Mon, 16 Sep 2019 12:42:11 -0700
changeset 4846 38ce7fe4d3f2
parent 4845 6f5d3f58fbe4
child 4847 0fecff9ac36d
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.
hgext3rd/evolve/state.py
--- 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