diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-04-15 14:26:29 -0700 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-04-15 14:26:29 -0700 |
commit | 60dddb03d05ccf4088242a524e624f61782dd40f (patch) | |
tree | 816eb6176ea40bf9d7c6f0d15715fe0a4b813cda /examples/environment.py | |
parent | 40eb6f6c9428a5a3a54cebef34da7dae173dd074 (diff) | |
download | cmd2-git-60dddb03d05ccf4088242a524e624f61782dd40f.tar.gz |
Started removing dependency on six
Removed all dependency on six other than for six.moves.input
Also:
- Started removing code branches which were for Python 2 support
Diffstat (limited to 'examples/environment.py')
-rwxr-xr-x | examples/environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/environment.py b/examples/environment.py index ca39711e..c245f55d 100755 --- a/examples/environment.py +++ b/examples/environment.py @@ -16,7 +16,7 @@ class EnvironmentApp(Cmd): def __init__(self): self.settable.update({'degrees_c': 'Temperature in Celsius'}) self.settable.update({'sunny': 'Is it sunny outside?'}) - Cmd.__init__(self) + super().__init__() def do_sunbathe(self, arg): if self.degrees_c < 20: |