Changeset 11022:f55908d9df0c in orange for Orange/utils/addons.py


Ignore:
Timestamp:
11/14/12 12:38:01 (18 months ago)
Author:
Matija Polajnar <matija.polajnar@…>
Branch:
default
Message:

Bugfix in addons: don't show bare "%s" in an error message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/utils/addons.py

    r11021 r11022  
    241241 
    242242def uninstall(name, progress_callback=None): #TODO 
    243     raise Exception('Unable to uninstall %s: uninstallation of add-ons is not yet implemented.') 
     243    raise Exception('Unable to uninstall %s: uninstallation of add-ons is not yet implemented.' % name) 
    244244    # Implement this either by using pip.commands.uninstall, and complain if pip is not installed on the system, 
    245245    # or by "stealing" pip's uninstallation code. 
Note: See TracChangeset for help on using the changeset viewer.