From a98f9ca422f73ab6bc74a9fb9ecbca54bd45bf8d Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Mon, 15 May 2017 01:15:47 -0700 Subject: [PATCH] upgrade coverage to v4.4.1 --- dev-requirements.txt | 2 +- wakatime/constants.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index 82374d2..1f3594e 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,4 +1,4 @@ -coverage==4.4 +coverage==4.4.1 mock==2.0.0 nose==1.3.7 nose-capturestderr==1.2 diff --git a/wakatime/constants.py b/wakatime/constants.py index ae71737..3e1905f 100644 --- a/wakatime/constants.py +++ b/wakatime/constants.py @@ -39,6 +39,12 @@ Exit code used when the JSON input from `--extra-heartbeats` is malformed. """ MALFORMED_HEARTBEAT_ERROR = 106 +""" Connection Error +Exit code used when there was proxy or other problem connecting to the WakaTime +API servers. +""" +CONNECTION_ERROR = 107 + """ Max file size supporting line number count stats. Files larger than this in bytes will not have a line count stat for performance. Default is 2MB.