diff options
author | Zac Medico <zmedico@gentoo.org> | 2013-01-20 07:42:39 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2013-01-20 07:42:39 -0800 |
commit | 2247df0227c7c3a1b36126c870bc122aa2cf3785 (patch) | |
tree | bdaa2bfe188a5062e6f0bcd89543195d2b9a4817 /bin | |
parent | 94084ef96909a6f938daa2a90aedc1cc3fc8ce0b (diff) | |
download | portage-2247df0227c7c3a1b36126c870bc122aa2cf3785.tar.gz portage-2247df0227c7c3a1b36126c870bc122aa2cf3785.tar.bz2 portage-2247df0227c7c3a1b36126c870bc122aa2cf3785.zip |
repoman: fix TypeError: must be char, not unicodev2.2.0_alpha158
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/repoman | 2 |
1 files changed, 1 insertions, 1 deletions
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') |