forked from luna/vim-rana-local
upgrade external wakatime interface to v2.0.8 to supress output from svn command
This commit is contained in:
parent
9043b363eb
commit
1509519438
3 changed files with 9 additions and 3 deletions
|
@ -3,6 +3,12 @@ History
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
|
||||||
|
2.0.8 (2014-08-29)
|
||||||
|
++++++++++++++++++
|
||||||
|
|
||||||
|
- supress output from svn command
|
||||||
|
|
||||||
|
|
||||||
2.0.7 (2014-08-27)
|
2.0.7 (2014-08-27)
|
||||||
++++++++++++++++++
|
++++++++++++++++++
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
__title__ = 'wakatime'
|
__title__ = 'wakatime'
|
||||||
__version__ = '2.0.7'
|
__version__ = '2.0.8'
|
||||||
__author__ = 'Alan Hamlett'
|
__author__ = 'Alan Hamlett'
|
||||||
__license__ = 'BSD'
|
__license__ = 'BSD'
|
||||||
__copyright__ = 'Copyright 2014 Alan Hamlett'
|
__copyright__ = 'Copyright 2014 Alan Hamlett'
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
import platform
|
import platform
|
||||||
from subprocess import Popen, PIPE
|
from subprocess import Popen, PIPE, DEVNULL
|
||||||
|
|
||||||
from .base import BaseProject
|
from .base import BaseProject
|
||||||
try:
|
try:
|
||||||
|
@ -55,7 +55,7 @@ class Subversion(BaseProject):
|
||||||
]
|
]
|
||||||
for location in locations:
|
for location in locations:
|
||||||
try:
|
try:
|
||||||
Popen([location, '--version'])
|
Popen([location, '--version'], stdout=DEVNULL, stderr=DEVNULL)
|
||||||
self.binary_location = location
|
self.binary_location = location
|
||||||
return location
|
return location
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in a new issue