From 2247df0227c7c3a1b36126c870bc122aa2cf3785 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 20 Jan 2013 07:42:39 -0800 Subject: [PATCH] repoman: fix TypeError: must be char, not unicode --- bin/repoman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/repoman b/bin/repoman index 11f2b13bb..bfa8d7d86 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1084,7 +1084,7 @@ def parsedate(s): m = month_map.get(b) if m is None: return None - m = str(m).rjust(2, '0') + m = "%02d" % m return time.strptime(':'.join((Y, m, d, H_M_S)), '%Y:%m:%d:%H:%M:%S') -- 2.26.2