projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
837bece
)
For bug #168823, fix broken except statement syntax that prevents the ValueError...
author
Zac Medico
<zmedico@gentoo.org>
Thu, 1 Mar 2007 03:36:46 +0000
(
03:36
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 1 Mar 2007 03:36:46 +0000
(
03:36
-0000)
svn path=/main/branches/2.1.2/; revision=6103
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index dd479aab0b887ff7bd9bce22aa69016aa8d65d08..51dc4fd440991609c479a8561e20dd2f445d6f79 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-4982,7
+4982,7
@@
class vardbapi(dbapi):
"This method will grab the COUNTER. Returns a counter value."
try:
return long(self.aux_get(mycpv, ["COUNTER"])[0])
- except
KeyError, ValueError
:
+ except
(KeyError, ValueError)
:
pass
cdir=self.root+VDB_PATH+"/"+mycpv
cpath=self.root+VDB_PATH+"/"+mycpv+"/COUNTER"