diff options
author | 2010-06-28 12:40:46 +0300 | |
---|---|---|
committer | 2010-06-28 12:40:46 +0300 | |
commit | 09d711531e40f9ea235b05eb648c8ef991e399bb (patch) | |
tree | bbcbec3c0293a34de487b52cf1f20b38f931cace /utils | |
parent | Added licensing stuff (diff) | |
download | gsoc2010-grumpy-09d711531e40f9ea235b05eb648c8ef991e399bb.tar.gz gsoc2010-grumpy-09d711531e40f9ea235b05eb648c8ef991e399bb.tar.bz2 gsoc2010-grumpy-09d711531e40f9ea235b05eb648c8ef991e399bb.zip |
Use pkg.fullver instead of string concatenation
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/db_init.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/db_init.py b/utils/db_init.py index 725ea74..f170dd9 100755 --- a/utils/db_init.py +++ b/utils/db_init.py @@ -75,7 +75,7 @@ def main(path): else: iuse.append(u) - session.add(Ebuild(package, pkg.version, pkg.revision, pkg.eapi, \ + session.add(Ebuild(package, pkg.fullver, pkg.eapi, \ pkg.slot, pkg.keywords, iuse, fiuse)) session.commit() |