Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.
| File feed-deprecate.diff,
512 bytes
(added by Chris Arndt, 4 years ago) |
|
Patch to add deprecation warning when importing turbogears.feed in TG 1.1
|
-
|
|
|
|
| | 1 | """"The 'turbogears.feed' package is deprecated in TurboGears >= 1.1. |
| | 2 | |
| | 3 | Please use the TurboFeeds extension <http://python.org/pypi/TurboFeeds> instead. |
| | 4 | """ |
| | 5 | |
| | 6 | import warnings |
| | 7 | |
| | 8 | warnings.warn(__doc__, DeprecationWarning) |
| 1 | 9 | from turbogears.feed import feed |
| 2 | 10 | FeedController = feed.FeedController |
Download in other formats: