Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

move warnings import to the top so we suppress DeprecationWarnings

  • Loading branch information...
commit 3cd48305b664991f14da0bbfdd847ed95052c5d0 1 parent dd545fd
@throughnothing authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 plugin/vimchat.vim
View
5 plugin/vimchat.vim
@@ -33,6 +33,9 @@
python <<EOF
try:
+ import warnings
+ warnings.filterwarnings('ignore', category=DeprecationWarning)
+
from collections import defaultdict
from ConfigParser import RawConfigParser
import os
@@ -42,10 +45,8 @@ try:
import threading
import time
import vim
- import warnings
import xmpp
- warnings.filterwarnings('ignore', category=DeprecationWarning)
try:
import simplejson as json
Please sign in to comment.
Something went wrong with that request. Please try again.