Run of fresh-snapshots for gcalcli

Try this locally (using silver-platter):

debian-svp new-upstream --snapshot gcalcli 

Merge these changes:

git pull https://janitor.debian.net/git/gcalcli fresh-snapshots/main

Summary

Merged new upstream version: 4.2.0+git20190920.f6f181d (was: 4.2.0).

Diff

=== modified file 'debian/changelog'
--- a/debian/changelog	2019-09-23 00:14:04 +0000
+++ b/debian/changelog	2019-10-01 03:59:22 +0000
@@ -1,3 +1,9 @@
+gcalcli (4.2.0+git20190920.f6f181d-1) UNRELEASED; urgency=medium
+
+  * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 01 Oct 2019 03:59:13 +0000
+
 gcalcli (4.2.0-1) unstable; urgency=medium
 
   * New upstream version 4.2.0

=== modified file 'gcalcli/argparsers.py'
--- a/gcalcli/argparsers.py	2019-09-23 00:10:23 +0000
+++ b/gcalcli/argparsers.py	2019-10-01 03:59:22 +0000
@@ -94,8 +94,12 @@
 
 def locale_has_24_hours():
     t = datetime.time(20)
-    formatted = t.strftime(locale.nl_langinfo(locale.T_FMT))
-    return '20' in formatted
+    try:
+        formatted = t.strftime(locale.nl_langinfo(locale.T_FMT))
+        return '20' in formatted
+    except AttributeError:
+        # Some locales don't support nl_langinfo (see #481)
+        return False
 
 
 def get_auto_width():

Full build log Full worker log