Package: gcalcli
Version: 4.0.4-2
Followup-For: Bug #575149

Dear Maintainer,

I took a quick look at the source, and the attached patch seems to fix
the problem for me.  Thanks.

-- System Information:
Debian Release: buster/sid
  APT prefers precise-updates
  APT policy: (990, 'precise-updates'), (990, 'precise-security'), (990, 
'precise-backports'), (990, 'precise'), (500, 'xenial-updates'), (500, 
'xenial'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-4-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages gcalcli depends on:
ii  python3                3.7.3-1
ii  python3-dateutil       2.6.1-1
ii  python3-googleapi      1.5.5-1
ii  python3-httplib2       0.9.2+dfsg-1
ii  python3-oauth2client   4.1.2-3
ii  python3-parsedatetime  2.4-2
ii  python3-six            1.10.0-4

Versions of packages gcalcli recommends:
ii  python3-vobject  0.9.6.1-0.1

gcalcli suggests no packages.

-- no debconf information

diff -rU3 gcalcli-4.0.4.orig/gcalcli/gcal.py gcalcli-4.0.4/gcalcli/gcal.py
--- gcalcli-4.0.4.orig/gcalcli/gcal.py	2019-06-20 12:32:54.774960427 -0400
+++ gcalcli-4.0.4/gcalcli/gcal.py	2019-06-20 12:33:15.930767639 -0400
@@ -1548,7 +1548,7 @@
                     continue
                 if val.lower() == 'i':
                     new_event = self._retry_with_backoff(
-                                    self._cal_service()
+                                    self.get_cal_service()
                                         .events()
                                         .insert(
                                             calendarId=self.cals[0]['id'],

Reply via email to