Blame SOURCES/BZ-1256216-cifs-share-oserror.patch

164e0b
--- a/createrepo/__init__.py    2015-08-24 14:58:31.510985403 +0900
164e0b
+++ b/createrepo/__init__.py    2015-08-24 14:58:52.842172340 +0900
164e0b
@@ -230,6 +230,7 @@ class MetaDataGenerator:
164e0b
                 except (OSError, IOError), e:
164e0b
                     raise MDError, _("Could not create exclusive lock in %s and sqlite database generation enabled. Is this path on nfs? Is your lockd running?") % direc
164e0b
                 else:
164e0b
+                    f.close()
164e0b
                     os.unlink(direc + '/locktest')
164e0b
                 
164e0b
         if self.conf.deltas: