diff options
author | kotfu <jared@kotfu.net> | 2018-05-24 19:07:45 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-24 19:07:45 -0600 |
commit | cad21a60fa92ebe4a7c177142d273f9f7497967b (patch) | |
tree | 3cfa590653af8b7570bd4073384467d2ca736fa0 /examples/environment.py | |
parent | 5d64ebee348aeffb02fc385f903c9af431e3721b (diff) | |
parent | 190fecb34ac91e25f64615f378d6d59ef6d77de8 (diff) | |
download | cmd2-git-cad21a60fa92ebe4a7c177142d273f9f7497967b.tar.gz |
Merge pull request #413 from python-cmd2/speedup_import
Defer certain imports
Diffstat (limited to 'examples/environment.py')
-rwxr-xr-x | examples/environment.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/environment.py b/examples/environment.py index af452e4e..c45ce71c 100755 --- a/examples/environment.py +++ b/examples/environment.py @@ -4,10 +4,10 @@ A sample application for cmd2 demonstrating customized environment parameters """ -from cmd2.cmd2 import Cmd +import cmd2 -class EnvironmentApp(Cmd): +class EnvironmentApp(cmd2.Cmd): """ Example cmd2 application. """ degrees_c = 22 |