projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5857c54
)
Fix cache.metadata.database so that it correctly removes the newline character from...
author
Zac Medico
<zmedico@gentoo.org>
Sun, 26 Feb 2006 05:39:21 +0000
(
05:39
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 26 Feb 2006 05:39:21 +0000
(
05:39
-0000)
svn path=/main/trunk/; revision=2786
pym/cache/metadata.py
patch
|
blob
|
history
diff --git
a/pym/cache/metadata.py
b/pym/cache/metadata.py
index 5e5f0bde74032f204f351bbc5e0c918166a81be6..0fd11cda8db097d051942d801a33c87535f7b98e 100644
(file)
--- a/
pym/cache/metadata.py
+++ b/
pym/cache/metadata.py
@@
-50,7
+50,7
@@
class database(flat_hash.database):
if not c.isalpha():
if c == "=" and idx > 0:
hashed = True
- d[line[:idx]] = line[idx + 1:]
+ d[line[:idx]] = line[idx + 1:
-1
]
elif c == "_" or c.isdigit():
continue
break