From: Joe Beda Date: Tue, 11 May 2010 08:51:42 +0000 (-0700) Subject: Stop using '%s' formatter in strftime. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=e9ab7b0ee73b2c23930df8483fd9504e44dbf628;p=packages%2Fb%2Fbup.git Stop using '%s' formatter in strftime. This isn't supported on all platforms (OpenSolaris specifically). Signed-off-by: Joe Beda --- diff --git a/lib/bup/git.py b/lib/bup/git.py index 8835d69..f900d63 100644 --- a/lib/bup/git.py +++ b/lib/bup/git.py @@ -495,7 +495,7 @@ class PackWriter: def _git_date(date): - return time.strftime('%s %z', time.localtime(date)) + return '%d %s' % (date, time.strftime('%z', time.localtime(date))) def _gitenv():