import os
import sys

from vee.commands.main import command, argument
from vee.requirement import Requirement
from vee.utils import style


@command(
    help='update vee itself',
)
def selfupdate(args):

    args.assert_home

    try:
        import install_vee
    except ImportError:
        root = os.path.abspath(os.path.join(__file__, '..', '..', '..'))
        sys.path.append(root)
        import install_vee

    install_vee.main([
        '--prefix', args.home.root,
        '--no-bashrc',
    ])

import os
import sys

from vee.commands.main import command, argument
from vee.requirement import Requirement
from vee.utils import style


@command(
    help='update vee itself',
)
def selfupdate(args):

    args.assert_home()

    try:
        import install_vee
    except ImportError:
        root = os.path.abspath(os.path.join(__file__, '..', '..', '..'))
        sys.path.append(root)
        import install_vee

    install_vee.main([
        '--prefix', args.home.root,
        '--no-bashrc',
    ])

Fix a typo