# HG changeset patch # User Kyle Lippincott # Date 1568662931 25200 # Node ID 38ce7fe4d3f210d4c606f0de1312daeee4a63462 # Parent 6f5d3f58fbe4a9b8aacb7921ae8d6bb84aabff4b 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. diff -r 6f5d3f58fbe4 -r 38ce7fe4d3f2 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