| Newsgroups |
gmane.linux.rpm.metadata |
| Message-ID |
<[email protected]> |
createrepo/__init__.py | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 6b6e67f57f3bbab76e92cdb67b39a6ab7ec59305
Author: Seth Vidal <[email protected]>
Date: Mon Apr 26 13:58:52 2010 -0400
fixme comments about try/excepting the database creation calls due to a weird
issue with locks not working on a nfs mount and createreepo tracing back
with a TypeError of all things
diff --git a/createrepo/__init__.py b/createrepo/__init__.py
index ecdf5b3..0911ba1 100644
--- a/createrepo/__init__.py
+++ b/createrepo/__init__.py
@@ -847,6 +847,7 @@ class MetaDataGenerator:
dbversion = str(sqlitecachec.DBVERSION)
except AttributeError:
dbversion = '9'
+ #FIXME - in theory some sort of try/except here
rp = sqlitecachec.RepodataParserSqlite(repopath, repoid, None)
for (rpm_file, ftype) in workfiles:
@@ -873,12 +874,16 @@ class MetaDataGenerator:
time.ctime()))
if ftype == 'primary':
+ #FIXME - in theory some sort of try/except here
+ # TypeError appears to be raised, sometimes :(
rp.getPrimary(complete_path, csum)
elif ftype == 'filelists':
+ #FIXME and here
rp.getFilelists(complete_path, csum)
elif ftype == 'other':
+ #FIXME and here
rp.getOtherdata(complete_path, csum)
if ftype in ['primary', 'filelists', 'other']: