author | Dmitriy Morozov <dmitriy@mrzv.org> |
Tue, 15 Sep 2009 17:30:16 -0700 | |
changeset 30 | 919f428df29a |
parent 29 | c85b9ac4880d |
child 31 | d7ef43f7669a |
alexandria.py | file | annotate | diff | comparison | revisions |
--- a/alexandria.py Tue Sep 15 17:22:19 2009 -0700 +++ b/alexandria.py Tue Sep 15 17:30:16 2009 -0700 @@ -7,6 +7,11 @@ from ConfigParser import SafeConfigParser from models import Author, Paper, Tag, AuthorNickname, initDatabase, session, asc +# suppress the deprecation warning in elixir 0.6.1 +import warnings +warnings.simplefilter('ignore', DeprecationWarning, 412) + + db_filename = 'alexandria.db' term = terminal.TerminalController() color = {'title': term.GREEN + term.BOLD,