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

Seth Vidal skvidal at fedoraproject.org
Tue Aug 18 15:02:35 UTC 2009



On Thu, 6 Aug 2009, Mike Bonnet wrote:

> 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);""",


committed, thanks,
-sv



More information about the Yum-devel mailing list