projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94084ef
)
repoman: fix TypeError: must be char, not unicode
v2.2.0_alpha158
author
Zac Medico
<zmedico@gentoo.org>
Sun, 20 Jan 2013 15:42:39 +0000
(07:42 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 20 Jan 2013 15:42:39 +0000
(07:42 -0800)
bin/repoman
patch
|
blob
|
history
diff --git
a/bin/repoman
b/bin/repoman
index 11f2b13bbbc1cf8bfab98b96d7f210dfc4362727..bfa8d7d8637f02e76efcd0f5160df32061fdf778 100755
(executable)
--- 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')