[Yum-devel] [PATCH] createrepo: typo in pragma

Mike Bonnet mikeb at redhat.com
Thu Aug 6 18:01:37 UTC 2009


Fix a one-character typo in a PRAGMA.  This doesn't actually affect 
operation (the typoed version still had the desired effect).

---
  createrepo/__init__.py |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/createrepo/__init__.py b/createrepo/__init__.py
index a28433e..609569a 100644
--- a/createrepo/__init__.py
+++ b/createrepo/__init__.py
@@ -1199,7 +1199,7 @@ class MetaDataSqlite(object):

      def create_filelists_db(self):
          schema = [
-            """PRAGMA synchronous="0FF";""",
+            """PRAGMA synchronous="OFF";""",
              """pragma locking_mode="EXCLUSIVE";""",
              """CREATE TABLE db_info (dbversion INTEGER, checksum 
TEXT);""",
              """CREATE TABLE filelist (  pkgKey INTEGER,  dirname TEXT, 
  filenames TEXT,  filetypes TEXT);""",
-- 
1.6.0.6


More information about the Yum-devel mailing list