Browse Source

Error: global name 'fs' is not defined fixed

bugfixes
harshadyeola 10 years ago
parent
commit
8da13a161c
  1. 2
      ee/cli/ext/ee_outputhandler.py
  2. 1
      ee/cli/main.py

2
ee/cli/ext/ee_outputhandler.py

@ -1,7 +1,7 @@
# Based on https://github.com/datafolklabs/cement/issues/295
# To avoid encoding releated error,we defined our custom output handler
# I hope we will remove this when we upgarde to Cement 2.6 (Not released yet)
from cement.utils import fs
from cement.ext.ext_mustache import MustacheOutputHandler

1
ee/cli/main.py

@ -13,7 +13,6 @@ else:
from cement.core import foundation
from cement.utils.misc import init_defaults
from cement.core.exc import FrameworkError, CaughtSignal
from cement.utils import fs
from cement.ext.ext_argparse import ArgParseArgumentHandler
from ee.core import exc
from ee.cli.ext.ee_outputhandler import EEOutputHandler

Loading…
Cancel
Save