From 327c0e448b1352d77e6e30346708d4d279b0ce46 Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Fri, 5 Dec 2014 02:40:07 -0800 Subject: [PATCH] upgrade external wakatime-cli to v2.1.9 --- packages/wakatime/HISTORY.rst | 6 ++++++ packages/wakatime/wakatime/__init__.py | 2 +- packages/wakatime/wakatime/queue.py | 4 +--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/wakatime/HISTORY.rst b/packages/wakatime/HISTORY.rst index bd96965..97097d9 100644 --- a/packages/wakatime/HISTORY.rst +++ b/packages/wakatime/HISTORY.rst @@ -3,6 +3,12 @@ History ------- +2.1.9 (2014-12-05) +++++++++++++++++++ + +- fix bug preventing offline heartbeats from being purged after uploaded + + 2.1.8 (2014-12-04) ++++++++++++++++++ diff --git a/packages/wakatime/wakatime/__init__.py b/packages/wakatime/wakatime/__init__.py index 074c2ee..5c9614d 100644 --- a/packages/wakatime/wakatime/__init__.py +++ b/packages/wakatime/wakatime/__init__.py @@ -13,7 +13,7 @@ from __future__ import print_function __title__ = 'wakatime' -__version__ = '2.1.8' +__version__ = '2.1.9' __author__ = 'Alan Hamlett' __license__ = 'BSD' __copyright__ = 'Copyright 2014 Alan Hamlett' diff --git a/packages/wakatime/wakatime/queue.py b/packages/wakatime/wakatime/queue.py index 27b0efc..e6ff1f4 100644 --- a/packages/wakatime/wakatime/queue.py +++ b/packages/wakatime/wakatime/queue.py @@ -16,8 +16,6 @@ import os import traceback from time import sleep -from .compat import u - try: import sqlite3 HAS_SQL = True @@ -93,7 +91,7 @@ class Queue(object): for row_name in ['file', 'time', 'project', 'language', 'lines', 'branch', 'is_write']: if row[index] is not None: clauses.append('{0}=?'.format(row_name)) - values.append(u(row[index])) + values.append(row[index]) else: clauses.append('{0} IS NULL'.format(row_name)) index += 1