From d16d1ca747fea70477c8f4f4b7914d875e43d8b4 Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Mon, 9 Mar 2015 15:25:40 -0700 Subject: [PATCH] v3.0.8 --- HISTORY.rst | 10 ++++++++++ WakaTime.py | 10 +++++----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index f0d2d36..4d3907a 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,16 @@ History ------- +3.0.8 (2015-03-09) +++++++++++++++++++ + +- upgrade wakatime cli to v4.0.4 +- use requests library instead of urllib2, so api SSL cert is verified +- new --notfile argument to support logging time without a real file +- new --proxy argument for https proxy support +- new options for excluding and including directories + + 3.0.7 (2015-02-05) ++++++++++++++++++ diff --git a/WakaTime.py b/WakaTime.py index c84305a..499775f 100644 --- a/WakaTime.py +++ b/WakaTime.py @@ -6,7 +6,7 @@ License: BSD, see LICENSE for more details. Website: https://wakatime.com/ ===========================================================""" -__version__ = '3.0.7' +__version__ = '3.0.8' import sublime import sublime_plugin @@ -210,8 +210,8 @@ class SendActionThread(threading.Thread): if self.debug: cmd.append('--verbose') if HAS_SSL: - #if self.debug: - print('[WakaTime] %s' % ' '.join(cmd)) + if self.debug: + print('[WakaTime] %s' % ' '.join(cmd)) code = wakatime.main(cmd) if code != 0: print('[WakaTime] Error: Response code %d from wakatime package.' % code) @@ -219,8 +219,8 @@ class SendActionThread(threading.Thread): python = python_binary() if python: cmd.insert(0, python) - #if self.debug: - print('[WakaTime] %s %s' % (python, ' '.join(cmd))) + if self.debug: + print('[WakaTime] %s %s' % (python, ' '.join(cmd))) if platform.system() == 'Windows': Popen(cmd, shell=False) else: