-
Committer:
Manish Sinha
-
Date:
2011-11-07 19:17:56 UTC
-
Revision ID:
manishsinha@ubuntu.com-20111107191756-p0exe4wkrgfob2r9
In case the user provides a wrong username or ppa name, then the exception is handled
* The exception handler checks that if the username starts with a ~, in this case
it suggests does the user mean the username without a ~. e.g. if the user does
sudo apt-add-repository ppa:~gnome3team/stable, then the script will ask the user
if he means ppa:gnome3team/stable
* Even better friendlier messages can be provided, but for that it will introduce
lauchpadlib as a dependency