Skip to content

Commit

Permalink
[svn] Added new exception for when PyProtocols 1.0a isn't present. Th…
Browse files Browse the repository at this point in the history
…is message actually includes the hard as hell to track-down URL for where the proper version is actually residing and how to install it. Resolving Ticket #58

--HG--
branch : trunk
  • Loading branch information
bbangert committed Jun 3, 2006
1 parent b13fb08 commit 46421b1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pylons/decorator.py
Expand Up @@ -2,7 +2,13 @@
from copy import copy
from inspect import getargspec, formatargspec

from protocols.advice import add_assignment_advisor
try:
from protocols.advice import add_assignment_advisor
except:
msg = "Unable to import from PyProtocols, to remedy, download the latest"
msg += " PyProtocols > 1.0a with the following command:\n"
msg += "sudo easy_install -U -f http://peak.telecommunity.com/snapshots/ PyProtocols"
raise Exception, msg


# Inspired by Michele Simionato's decorator library
Expand Down

0 comments on commit 46421b1

Please sign in to comment.