Skip to content

editing non-existent profile causes traceback #10

@jmrodri

Description

@jmrodri

if we try to "rho profile edit" a profile that doesnt exist:
Traceback (most recent call last):
File "/home/adrian/src/rho/bin/rho", line 22, in
CLI().main()
File "/home/adrian/src/rho/src/rho/cli.py", line 95, in main
cmd.main()
File "/home/adrian/src/rho/src/rho/clicommands.py", line 136, in main
self._do_command()
File "/home/adrian/src/rho/src/rho/clicommands.py", line 461, in _do_command
g.ranges = self.options.ranges
AttributeError: 'NoneType' object has no attribute 'ranges'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions