Ticket #4298: deprecateJournal-4298.diff

File deprecateJournal-4298.diff, 548 bytes (added by djfroofy, 7 years ago)
  • twisted/persisted/journal/__init__.py

     
    66"""
    77Command-journalling persistence framework inspired by Prevayler.
    88
     9This package is deprecated.
     10
    911Maintainer: Itamar Shtull-Trauring
    1012"""
     13
     14import warnings
     15warnings.warn(
     16    "twisted.persisted.journal is deprecated since Twisted 10.0",
     17    category=DeprecationWarning,
     18    stacklevel=2)
     19